|
Message
From: cvs at opencores.org<cvs@o...>
Date: Thu Jan 31 00:39:25 CET 2008
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/08/01 31:00:39 Modified: jop/java/target/src/common/com/jopdesign/sys GC.java Log: Fixed access to GC info data on the writeBarrier method. Issue: missing indirection. Revision Changes Path 1.53 jop/java/target/src/common/com/jopdesign/sys/GC.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/common/com/jopdesign/sys/GC.java.diff?r1=1.52&r2=1.53 (In the diff below, changes in quantity of whitespace are not shown.) Index: GC.java =================================================================== RCS file: /cvsroot/paulo/jop/java/target/src/common/com/jopdesign/sys/GC.java,v retrieving revision 1.52 retrieving revision 1.53 diff -u -b -r1.52 -r1.53 --- GC.java 30 Jan 2008 19:33:44 -0000 1.52 +++ GC.java 30 Jan 2008 23:39:24 -0000 1.53 @@ -723,6 +723,9 @@ // log("Regular object."); // get the object GC info from the class structure. gcInfo = Native.rdMem(handle + GC.OFF_MTAB_ALEN) + Const.MTAB2GC_INFO; + gcInfo = Native.rdMem(gcInfo); + +// log("GCInfo field: ", gcInfo); // if the correct bit is set for the field, it may hold a reference. // then, execute the write barrier.
|
 |