Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 774 invoked from network); 16 Oct 2006 23:39:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Oct 2006 23:39:34 -0000 Received: (qmail 50965 invoked by uid 500); 16 Oct 2006 23:39:34 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 50940 invoked by uid 500); 16 Oct 2006 23:39:34 -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 50926 invoked by uid 99); 16 Oct 2006 23:39:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 16:39:34 -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; Mon, 16 Oct 2006 16:39:33 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AF3A87142D7 for ; Mon, 16 Oct 2006 16:38:38 -0700 (PDT) Message-ID: <29089686.1161041918715.JavaMail.jira@brutus> Date: Mon, 16 Oct 2006 16:38:38 -0700 (PDT) From: "Geir Magnusson Jr (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Commented: (HARMONY-1785) [drlvm][.jet] wb4c - write barriers for C/C++-based GC In-Reply-To: <22742084.1160404879629.JavaMail.root@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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1785?page=comments#action_12442754 ] Geir Magnusson Jr commented on HARMONY-1785: -------------------------------------------- any progress? > [drlvm][.jet] wb4c - write barriers for C/C++-based GC > ------------------------------------------------------ > > Key: HARMONY-1785 > URL: http://issues.apache.org/jira/browse/HARMONY-1785 > Project: Harmony > Issue Type: New Feature > Components: DRLVM > Reporter: Alex Astapchuk > Assigned To: weldon washburn > Attachments: jet_wb4c.patch, jet_wb4c.patch > > > Attached is implementation of write barriers for C/C++ based GCs (WB4C) in Jitrino.JET. > Currently, the GC's function gc_heap_slot_write_ref (file vm\gc\src\gc_for_vm.cpp) > is used as write barrier helper. > WB4C is off by default. To turn it on pass 'wb4c=true' option to .jet. Please refer to > PMF docs for details on how the arguments passing is working currently. > Normally, if you're using .jet-only mode (java -Xem:jet), the complete command line is > java -Xem:jet -Djit.JET.arg.wb4c=true Hello > Note: by default, the static fields writes (PUTSTATIC opcode) are *NOT* reported. > This is due to specifics of DRLVM where the static fields lies outside of the managed heap. > To force the reporting of static fields pass 'wb4c.skip_statics=false' (only works > together with wb4c=true): > java -Xem:jet -Djit.JET.arg.wb4c=true -Djit.JET.arg.wb4c.skip_statics=false Hello > (Note: current implementaion of gc_heap_slot_write_ref() will raise assert() in this case). > This patch also prepares some stuff for write barriers for Java (wb4j) but the complete > implementaion of wb4j will be supplied later. -- 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