Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 413 invoked from network); 22 May 2007 16:04:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 May 2007 16:04:40 -0000 Received: (qmail 83801 invoked by uid 500); 22 May 2007 16:04:43 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 83769 invoked by uid 500); 22 May 2007 16:04:43 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 83735 invoked by uid 99); 22 May 2007 16:04:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2007 09:04:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2007 09:04:37 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BF248714063 for ; Tue, 22 May 2007 09:04:16 -0700 (PDT) Message-ID: <5416792.1179849856780.JavaMail.jira@brutus> Date: Tue, 22 May 2007 09:04:16 -0700 (PDT) From: "Gregory Shimansky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-3462) [dlrvm][classloader][unloading] new j.l.Class tracing model In-Reply-To: <29738079.1174481252417.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-3462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gregory Shimansky reassigned HARMONY-3462: ------------------------------------------ Assignee: Gregory Shimansky > [dlrvm][classloader][unloading] new j.l.Class tracing model > ----------------------------------------------------------- > > Key: HARMONY-3462 > URL: https://issues.apache.org/jira/browse/HARMONY-3462 > Project: Harmony > Issue Type: Improvement > Components: DRLVM > Reporter: Aleksey Ignatenko > Assigned To: Gregory Shimansky > Attachments: new_class_registry_v7.patch, new_class_registry_v8.patch > > > The jira introduces new model of j.l.Class referencing into drlvm. > The current model is: > all j.l.Classes (JLC) and j.l.Classloaders (JLCL) are enumerated as strong references inside drlvm. It means that all JLC and JLCL are always reachable and we can not track any referencing between classes and classloaders automatically by GC. > The new model is required by clas unloading (independent of class unloading design). Lets name term "class registry" as - JLCL refers to its JLC and JLC refer to their defining JLCL (phisically via valid references). This requirement comes from the statement that classloader and all classes loaded by it are to be unloaded at once. e.g. Robin-Salikh approach requires that only JLCL are enumerated then JLC are to be traced automatically by GC (via references in appropriate JLCL - right now there is no direct reference to JLC in JLCL and vice versa). > The patch new_class_registry_v7.patch introduces the direct references described above. Also, it changes enumeration model: from now all JLC are traced via JLCL. JLC references are enumerated as weak references now (to be updated by GC). > Also destination of m_loadedClasses and m_reportedClasses has changed. For now m_loadedClasses is responsible for weak enumeration of all loaded UserDefined j.l.Classes and m_reportedClasses is responsible for enumeration of all bootstrap classes and userdefined classes (untill they are added to class registry) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.