hotspot/src/cpu/sparc/vm/templateTable_sparc.cpp
changeset 7902 7a2c2642784c
parent 7891 2c38f387381e
parent 7898 729a02451b8a
child 8676 9098d4e927e1
--- a/hotspot/src/cpu/sparc/vm/templateTable_sparc.cpp	Thu Jan 13 07:28:47 2011 -0800
+++ b/hotspot/src/cpu/sparc/vm/templateTable_sparc.cpp	Thu Jan 13 08:32:15 2011 -0800
@@ -3447,7 +3447,8 @@
     __ delayed()->nop();
 
     // bump total bytes allocated by this thread
-    __ incr_allocated_bytes(Roffset, 0, G1_scratch);
+    // RoldTopValue and RtopAddr are dead, so can use G1 and G3
+    __ incr_allocated_bytes(Roffset, G1_scratch, G3_scratch);
   }
 
   if (UseTLAB || Universe::heap()->supports_inline_contig_alloc()) {