Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 46610 invoked from network); 9 Nov 2006 17:37:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2006 17:37:29 -0000 Received: (qmail 7794 invoked by uid 500); 9 Nov 2006 17:37:37 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 7654 invoked by uid 500); 9 Nov 2006 17:37:36 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 7645 invoked by uid 99); 9 Nov 2006 17:37:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 09:37:36 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcjhd-harmony-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Nov 2006 09:37:22 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GiDpf-00042g-QO for harmony-dev@incubator.apache.org; Thu, 09 Nov 2006 18:36:55 +0100 Received: from msfwpr01.ims.intel.com ([62.118.80.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Nov 2006 18:36:55 +0100 Received: from Salikh.Zakirov by msfwpr01.ims.intel.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Nov 2006 18:36:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: harmony-dev@incubator.apache.org From: Salikh Zakirov Subject: Re: [drlvm] Class unloading support - tested one approach Date: Thu, 09 Nov 2006 20:36:45 +0300 Lines: 11 Message-ID: References: <5836de490610240251p120dfa56x736fbb5eb1898aca@mail.gmail.com> <4551B15B.2070101@anu.edu.au> <5836de490611080250l6dfbd38cw8778f7a055373d82@mail.gmail.com> <4551B83D.9020706@anu.edu.au> <4551CBDB.90004@anu.edu.au> <45531ED7.7030904@sablevm.org> <455324E1.2040301@anu.edu.au> <45535741.2080207@sablevm.org> <455363BD.90909@sablevm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: msfwpr01.ims.intel.com User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) In-Reply-To: <455363BD.90909@sablevm.org> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Etienne Gagnon wrote: >> 3) trace the heap >> 4) scan vtable marks and "revive" marked class unloaders, by adding the strong root >> from the previously collected "unload list". Remove the revived classloaders from unload list. >> 5) repeat steps (3) and (4) until there is no classloaders to revive > > As long as it is understood that the repeated (3) is not a full trace. > It's only a trace starting from the revived roots. [This is important > in evaluating the total work done]. Exactly.