Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 36777 invoked from network); 18 Oct 2006 03:18:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Oct 2006 03:18:33 -0000 Received: (qmail 23997 invoked by uid 500); 18 Oct 2006 03:18:33 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 23965 invoked by uid 500); 18 Oct 2006 03:18: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 23954 invoked by uid 99); 18 Oct 2006 03:18:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Oct 2006 20:18:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Oct 2006 20:18:32 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2BE187142E1 for ; Tue, 17 Oct 2006 20:17:35 -0700 (PDT) Message-ID: <12615175.1161141455176.JavaMail.jira@brutus> Date: Tue, 17 Oct 2006 20:17:35 -0700 (PDT) From: "Yu-Nan He (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Created: (HARMONY-1898) write barrier for C/C++ based GCs in Jitrino.OPT MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 Attachments: WB4C_OPT.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