Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 35283 invoked from network); 25 Jan 2007 07:38:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2007 07:38:42 -0000 Received: (qmail 8432 invoked by uid 500); 25 Jan 2007 07:38:42 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 8398 invoked by uid 500); 25 Jan 2007 07:38:42 -0000 Mailing-List: contact dev-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 dev@harmony.apache.org Received: (qmail 8389 invoked by uid 99); 25 Jan 2007 07:38:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jan 2007 23:38:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of xiaofeng.li@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jan 2007 23:38:33 -0800 Received: by ug-out-1314.google.com with SMTP id z36so327941uge for ; Wed, 24 Jan 2007 23:38:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=W23GpwtCJ1j3Ufl+DkF8HtSSGcbicwUwI/b96szlFKaXkakTizwlENiZi6jeSnyBmxRQElrBobXJbGoP5DYHxWDWcYWe6g3K4Z5Lk0GnJ90RbM09XayhEREdV+en0tfwJMCjNp9jNGZyZ3AGaDJ2XMgl9IhkK1VZ1OozzuJZTDA= Received: by 10.78.204.20 with SMTP id b20mr1439237hug.1169710691505; Wed, 24 Jan 2007 23:38:11 -0800 (PST) Received: by 10.78.154.18 with HTTP; Wed, 24 Jan 2007 23:38:11 -0800 (PST) Message-ID: <9623c9a50701242338o6ab1a00w1270290102ff8335@mail.gmail.com> Date: Thu, 25 Jan 2007 15:38:11 +0800 From: "Xiao-Feng Li" To: dev@harmony.apache.org Subject: [DRLVM][enumeration and helper inlining] magic Address fields should not be enumerated MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi, The current root set enumeration code has no special treatment with magic Address fields. They are taken as normal object reference fields. This is incorrect since their values are memory addresses that are not necessarily pointing to objects. Actually we probably need to keep the contract the Address field should never contain an object reference, so to skip them in enumeration doesn't miss any live objects. (They can contain an address that happens to be an object reference, but this object reference is enumerable from other roots or object fields.) Do you agree with this contract and should we modify the root set enumeration code to skip Address fields? Thanks, xiaofeng