harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wjwashb...@apache.org
Subject svn commit: r440598 - /incubator/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ObjectModel.java
Date Wed, 06 Sep 2006 03:34:40 GMT
Author: wjwashburn
Date: Tue Sep  5 20:34:40 2006
New Revision: 440598

URL: http://svn.apache.org/viewvc?view=rev&rev=440598
Log:
mods for write barrier


Modified:
    incubator/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ObjectModel.java

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ObjectModel.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ObjectModel.java?view=diff&rev=440598&r1=440597&r2=440598
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ObjectModel.java
(original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/MMTk/ext/vm/HarmonyDRLVM/org/apache/HarmonyDRLVM/mm/mmtk/ObjectModel.java
Tue Sep  5 20:34:40 2006
@@ -86,16 +86,18 @@
       Address addrTo = cc.allocCopy(from, objSize,
           0, /*int align,*/  0, /*int offset,*/ allocator) ;
       Address addrFrom = from.toAddress();
-      //System.out.println("ObjectModel.copy(), objSize = " + objSize + " addrFrom = " +
-      //    Integer.toHexString(addrFrom.toInt()) + " addrTo = " + Integer.toHexString(addrTo.toInt())
);
+            //System.out.println("ObjectModel.copy(), objSize = " + objSize + " addrFrom
= " +
+                //Integer.toHexString(addrFrom.toInt()) + " addrTo = " + Integer.toHexString(addrTo.toInt())
);
       Address addrCursor = addrTo;
       for (int xx = 0; xx < objSize; xx++) 
       {
             byte bb = addrFrom.loadByte();
+                        //System.out.print("_" + Integer.toHexString((int)bb));
             addrCursor.store(bb);
             addrCursor = addrCursor.plus(1);
             addrFrom = addrFrom.plus(1);
       }
+                        //System.out.println("");
       // mask off the GC bits (both forwarding and mark bits)
       Address addrGCBits = addrTo.plus(4);
       int yy = addrGCBits.loadInt();



Mime
View raw message