You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by yunan He <al...@gmail.com> on 2006/10/18 05:26:02 UTC

[DRLVM](JIRA-1898) write barrier for C/C++ based GCs in Jitrino.OPT

Hi, the patch attached in JIRA 1898 is an implementation of write barrier
for C/C++ based GCs in Jitrino.OPT. . It would be great if some commiter can
help to review and commit it.

http://issues.apache.org/jira/browse/HARMONY-1898

Repeat the desciption :
"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. "

Thanks and Regards!
Yu-Nan

Re: [DRLVM](JIRA-1898) write barrier for C/C++ based GCs in Jitrino.OPT

Posted by yunan He <al...@gmail.com>.
Hi,
    Update: new attached file WB4C_Update.patch is same patch as
WB4C_OPT.patch except that all the TABs are corrected. Please commit this
one. Thanks.

Regards,
Yu-Nan


On 10/18/06, yunan He <al...@gmail.com> wrote:
>
> Hi, the patch attached in JIRA 1898 is an implementation of write barrier
> for C/C++ based GCs in Jitrino.OPT. . It would be great if some commiter
> can help to review and commit it.
>
> http://issues.apache.org/jira/browse/HARMONY-1898
>
> Repeat the desciption :
> "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. "
>
> Thanks and Regards!
> Yu-Nan
>