harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu-Nan He (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1580) [DRLVM][JET]write barrier for JET
Date Tue, 26 Sep 2006 06:43:53 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1580?page=all ]

Yu-Nan He updated HARMONY-1580:
-------------------------------

    Attachment: write_barrier_JET.patch

against revision 442796

> [DRLVM][JET]write barrier for JET
> ---------------------------------
>
>                 Key: HARMONY-1580
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1580
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: windows and linux on IA32
>            Reporter: Yu-Nan He
>         Attachments: write_barrier_JET.patch
>
>
> Attached patch is an implementation of write barrier for JET compiler of DRLVM. The patch
lets JET 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, which takes three parameters. The signature is "void
gc_heap_slot_write_ref (Managed_Object_Handle p_obj_holding_ref,Managed_Object_Handle *p_slot,
Managed_Object_Handle p_target)". 
>  
> The patch is based on revision 442796. We hope it can be committed to Harmony soon because
GCv5 will be depending on it. We don't use existing getaddress__gc_write_barrier_fastcall
() in DRLVM because it only remembers object rather than the slot, and the name is not descriptive.
But we may use it later. Thanks.

-- 
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

        

Mime
View raw message