Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 74552 invoked from network); 26 Apr 2007 05:53:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Apr 2007 05:53:41 -0000 Received: (qmail 7925 invoked by uid 500); 26 Apr 2007 05:53:43 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 7896 invoked by uid 500); 26 Apr 2007 05:53: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 7874 invoked by uid 99); 26 Apr 2007 05:53:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 22:53: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; Wed, 25 Apr 2007 22:53:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9912A714077 for ; Wed, 25 Apr 2007 22:53:15 -0700 (PDT) Message-ID: <14288824.1177566795624.JavaMail.jira@brutus> Date: Wed, 25 Apr 2007 22:53:15 -0700 (PDT) From: "Alexey Varlamov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-3751) [drlvm][jit][opt] GCMap verification routine fails with assertion on write to vmmagic Address fields In-Reply-To: <12684152.1177485915525.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-3751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Varlamov reassigned HARMONY-3751: ---------------------------------------- Assignee: Alexey Varlamov > [drlvm][jit][opt] GCMap verification routine fails with assertion on write to vmmagic Address fields > ---------------------------------------------------------------------------------------------------- > > Key: HARMONY-3751 > URL: https://issues.apache.org/jira/browse/HARMONY-3751 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Mikhail Fursov > Assigned To: Alexey Varlamov > Attachments: magic.diff > > > GCMap verification routine 'checkManaged2UnmanagedConv' fails with assertion for the test below. > import org.vmmagic.unboxed.*; > public class Test { > static Address a; > static long val; > public static void main(String[] args) { > Address localAddr = Address.fromLong(val); > a = localAddr; > val = a.toLong(); > foo(); > a = localAddr; > } > static void foo() { > System.out.println(val); > } > } > in this test unmanaged pointer crosses call sites and is stored to a field (static field with Address type) > Fields of Address type are not managed by GC and GCMap verification algorithm must be fixed to avoid error reporting in this case. > This test is minimized version of the problem found with gc_gen helper in HARMONY-3718 > The gc_gen problem is not reproduced in real scenarios because the method with this problem () is compiled by JET. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.