Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 99650 invoked from network); 18 Jul 2006 12:03:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Jul 2006 12:03:23 -0000 Received: (qmail 98815 invoked by uid 500); 18 Jul 2006 12:03:23 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 98721 invoked by uid 500); 18 Jul 2006 12:03:23 -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 98710 invoked by uid 99); 18 Jul 2006 12:03:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 05:03:23 -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, 18 Jul 2006 05:03:22 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B2D6E41001A for ; Tue, 18 Jul 2006 12:01:14 +0000 (GMT) Message-ID: <1668758.1153224074730.JavaMail.jira@brutus> Date: Tue, 18 Jul 2006 05:01:14 -0700 (PDT) From: "Alex Astapchuk (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Updated: (HARMONY-816) Initial WBs for Java in Jitrino.JET In-Reply-To: <8263571.1152534749767.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-816?page=all ] Alex Astapchuk updated HARMONY-816: ----------------------------------- Attachment: magics.cpp Update magics.cpp to reflect latest MMTk changes: - add/sub replaced with plus/minus - fixed constants passed to MMTk's WB code wrt org.mmtk.utility.Constants.*WRITE_BARRIER - Stub implementation of atomic attempt() (always succeeds currently) - Stub (no-op) implementation for prepare*() and prefetch() - changed rsha/rshl impl wrt Robin Garner's clarification > Initial WBs for Java in Jitrino.JET > ----------------------------------- > > Key: HARMONY-816 > URL: http://issues.apache.org/jira/browse/HARMONY-816 > Project: Harmony > Issue Type: New Feature > Components: Contributions > Environment: DRLVM+Jitrino > Reporter: Alex Astapchuk > Attachments: magics.cpp, magics.cpp, PlanLocal.java, test.java, wb4j_jet.diff > > > Initial implementation of write barriers for MMTk in Jitrino.JET, > including support for magics. > To use the implementation: > 1. copy wb4j_jet.diff into vm/ and apply 'patch -p0 < wb4j_jet.diff' > 2. copy magics.cpp into vm/jitrino/src/jet > 3. compile attached test.java and PlanLocal.java (note: you need > org/vmmagic/unboxed or its stubs available) > By default, the WB code generation is off, to turn it on start VM as > follows: > ij -Xem jet: -Xjit jet::wb4j test > Currently, you will see no visible effect, you can only test it in debugger. > Note: current implementation only inserts WBs into a method named testWB of class test. > This is done intentionally to avoid breaking normal execution of bootstrap. > If you want to change this behavior, then please edit vm/jitrino/src/jet/compiler.cpp > (look for string test::testWB). -- 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