From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 1D2C9BC68 for ; Fri, 27 Oct 2006 13:36:57 +0200 (CEST) Received: from smeltpunt.science.ru.nl (smeltpunt.science.ru.nl [131.174.16.145]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id k9RBautL032076 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 27 Oct 2006 13:36:56 +0200 Received: from tandem.cs.ru.nl [131.174.142.18] (helo=tandem.cs.ru.nl) by smeltpunt.science.ru.nl (8.13.7/5.10) with ESMTP id k9RBakO9010725; Fri, 27 Oct 2006 13:36:46 +0200 (MEST) Received: from tews by tandem.cs.ru.nl with local (Exim 4.63) (envelope-from ) id 1GdQ10-0001Ql-Fc; Fri, 27 Oct 2006 13:36:46 +0200 From: Hendrik Tews To: Gerd Stolpmann Cc: skaller , Markus Mottl , Hendrik Tews , caml-list@inria.fr Subject: Re: [Caml-list] caml_oldify_local_roots takes 50% of the total runtime References: <17727.34685.561877.977822@tandem.cs.ru.nl> <1161802911.12050.5.camel@rosella.wigram> <1161870528.20369.27.camel@localhost.localdomain> Date: Fri, 27 Oct 2006 13:36:46 +0200 In-Reply-To: <1161870528.20369.27.camel@localhost.localdomain> (Gerd Stolpmann's message of "Thu, 26 Oct 2006 15:48:47 +0200") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.56 on 131.174.16.145 X-Miltered: at discorde with ID 4541EF58.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; hendrik:01 tews:01 tews:01 oldify:01 runtime:01 gerd:01 stolpmann:01 pointers:01 pointer:01 hendrik:01 heap:01 heap:01 caml-list:01 writes:01 referenced:01 Gerd Stolpmann writes: Global roots are for pointers that are outside the heap for a long time. I think these could be handled more efficiently by the GC, e.g. by moving global roots to a second list when the object referenced by the pointer is moved to the major heap. I destilled this thread into two feature wishs: 4145, 4146. Hendrik