--- old/src/hotspot/share/gc/shared/collectedHeap.cpp 2018-02-12 20:05:04.183769829 -0800 +++ new/src/hotspot/share/gc/shared/collectedHeap.cpp 2018-02-12 20:05:03.927770814 -0800 @@ -302,7 +302,7 @@ } HeapWord* CollectedHeap::allocate_sampled_object(Thread* thread, size_t size) { - thread->tlab().set_back_actual_end(); + thread->tlab().set_back_allocation_end(); // The tlab could still have space after this sample. return thread->tlab().allocate(size); @@ -315,7 +315,7 @@ HeapWord* obj = NULL; if (should_sample) { // Remember the tlab end to fix up the sampling rate. - HeapWord* tlab_old_end = thread->tlab().end(); + HeapWord* tlab_old_end = thread->tlab().current_end(); obj = allocate_sampled_object(thread, size); // If we did allocate in this tlab, sample it. Otherwise, we wait for the