Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 51044 invoked from network); 26 Oct 2006 01:12:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 01:12:01 -0000 Received: (qmail 72609 invoked by uid 500); 25 Oct 2006 03:25:32 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 72579 invoked by uid 500); 25 Oct 2006 03:25:32 -0000 Mailing-List: contact harmony-commits-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-commits@incubator.apache.org Received: (qmail 72562 invoked by uid 99); 25 Oct 2006 03:25:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 20:25:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 20:25:18 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 04F757142C2 for ; Tue, 24 Oct 2006 20:24:19 -0700 (PDT) Message-ID: <10295970.1161746659017.JavaMail.root@brutus> Date: Tue, 24 Oct 2006 20:24:19 -0700 (PDT) From: "Yu-Nan He (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Updated: (HARMONY-1898) write barrier for C/C++ based GCs in Jitrino.OPT In-Reply-To: <12615175.1161141455176.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 [ http://issues.apache.org/jira/browse/HARMONY-1898?page=all ] Yu-Nan He updated HARMONY-1898: ------------------------------- Attachment: WB4C_Update2.patch Weldon, please try this patch: "WB4C_Update2.patch". Thanks. > write barrier for C/C++ based GCs in Jitrino.OPT > ------------------------------------------------ > > Key: HARMONY-1898 > URL: http://issues.apache.org/jira/browse/HARMONY-1898 > Project: Harmony > Issue Type: Improvement > Components: DRLVM > Environment: Windows and Linux, IA32 > Reporter: Yu-Nan He > Assigned To: weldon washburn > Attachments: WB4C_OPT.patch, WB4C_Update.patch, WB4C_Update2.patch > > > Attached patch is an implementation of write barrier for C/C++ based GCs in Jitrino.OPT. The patch lets OPT to call "gc_requires_barriers()" of GC to determine if it needs to insert the write barrier code into the jitted code, so it doesn't impact current DRLVM/GC at all. It calls gc_heap_slot_write_ref( ) of GC module. > To Apply this patch, please enter vm/ directory and patch it. You can pass '-Xem:opt' to EM to use the OPT-only mode. In any other modes, you should be sure to open the JET write barrier for C/C++ based GCs . > This patch is based on revision 465123. > Please review this patch and see if it's ready for commission. Thanks. We hope it can be committed to Harmony soon. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira