harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Astapchuk (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-816) Initial WBs for Java in Jitrino.JET
Date Fri, 14 Jul 2006 03:32:30 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-816?page=comments#action_12420989 ] 

Alex Astapchuk commented on HARMONY-816:

Sorry, forgot to mention:
The attached stub for PlanLocal must reside in boot class path,  so the correct lauch line

ij -Xbootclasspath/p:<path-here> -Xem jet: -Xjit jet::wb4j test 

> Initial WBs for Java in Jitrino.JET
> -----------------------------------
>          Key: HARMONY-816
>          URL: http://issues.apache.org/jira/browse/HARMONY-816
>      Project: Harmony
>         Type: New Feature

>   Components: Contributions
>  Environment: DRLVM+Jitrino
>     Reporter: Alex Astapchuk
>  Attachments: PlanLocal.java, magics.cpp, 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:
For more information on JIRA, see:

View raw message