harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "YangBin (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5351) write barrier problem
Date Wed, 26 Dec 2007 14:36:43 GMT
write barrier problem

                 Key: HARMONY-5351
                 URL: https://issues.apache.org/jira/browse/HARMONY-5351
             Project: Harmony
          Issue Type: Bug
         Environment: Intel(R) Pentium(R) 4 CPU 3.00GHz
Mem: 1GB
            Reporter: YangBin

   I am trying to implement a "root write barrier" that can dynamically trace root object
in regs, stack. 
   The "gen_gc_mark_local" in cg.cpp may be generate the GC map, but when I add the root write
barrier in there, the root value is zero.
   I use gdb to trace jit, i find that "gen_write_barrier" is not compiled in the native code.
When I omitted the following code in cg_instr.cpp:gen_write_barrier:
    if (!doGenWB4J && !doGenWB4C) {
   the Harmony crash.

  If I don't misunderstand,  write barrier in current Harmony  may be not right.
   Would you like to give me some opinion about above problem?
   I'm looking forwards to your letters.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message