< prev index next >

src/hotspot/cpu/x86/macroAssembler_x86.cpp

Print this page
rev 49650 : 8201326: Renaming ThreadLocalAllocationBuffer end to current_end
Summary: Rename the TLAB end field to a better name
Contributed-by: jcbeyler@google.com
rev 49651 : [mq]: renaming2

@@ -5592,11 +5592,11 @@
   if (var_size_in_bytes == noreg) {
     lea(end, Address(obj, con_size_in_bytes));
   } else {
     lea(end, Address(obj, var_size_in_bytes, Address::times_1));
   }
-  cmpptr(end, Address(thread, JavaThread::tlab_end_offset()));
+  cmpptr(end, Address(thread, JavaThread::tlab_fast_path_end_offset()));
   jcc(Assembler::above, slow_case);
 
   // update the tlab top pointer
   movptr(Address(thread, JavaThread::tlab_top_offset()), end);
 

@@ -6160,11 +6160,11 @@
     jcc(Assembler::aboveEqual, next);
     STOP("assert(top >= start)");
     should_not_reach_here();
 
     bind(next);
-    movptr(t1, Address(thread_reg, in_bytes(JavaThread::tlab_end_offset())));
+    movptr(t1, Address(thread_reg, in_bytes(JavaThread::tlab_fast_path_end_offset())));
     cmpptr(t1, Address(thread_reg, in_bytes(JavaThread::tlab_top_offset())));
     jcc(Assembler::aboveEqual, ok);
     STOP("assert(top <= end)");
     should_not_reach_here();
 
< prev index next >