1.1 --- a/src/cpu/sparc/vm/templateTable_sparc.cpp Mon Jan 10 17:14:53 2011 -0500 1.2 +++ b/src/cpu/sparc/vm/templateTable_sparc.cpp Tue Jan 11 17:33:21 2011 -0500 1.3 @@ -3447,7 +3447,8 @@ 1.4 __ delayed()->nop(); 1.5 1.6 // bump total bytes allocated by this thread 1.7 - __ incr_allocated_bytes(Roffset, 0, G1_scratch); 1.8 + // RoldTopValue and RtopAddr are dead, so can use G1 and G3 1.9 + __ incr_allocated_bytes(Roffset, G1_scratch, G3_scratch); 1.10 } 1.11 1.12 if (UseTLAB || Universe::heap()->supports_inline_contig_alloc()) {