< prev index next >
src/hotspot/cpu/sparc/templateTable_sparc.cpp
Print this page
rev 49244 : [mq]: event-only
@@ -3288,11 +3288,11 @@
Register RendValue = Rscratch;
Register RfreeValue = RnewTopValue;
// check if we can allocate in the TLAB
__ ld_ptr(G2_thread, in_bytes(JavaThread::tlab_top_offset()), RoldTopValue); // sets up RalocatedObject
- __ ld_ptr(G2_thread, in_bytes(JavaThread::tlab_end_offset()), RendValue);
+ __ ld_ptr(G2_thread, in_bytes(JavaThread::tlab_current_end_offset()), RendValue);
__ add(RoldTopValue, Roffset, RnewTopValue);
// if there is enough space, we do not CAS and do not clear
__ cmp(RnewTopValue, RendValue);
if(ZeroTLAB) {
< prev index next >