src/hotspot/share/gc/z/zThreadLocalAllocBuffer.cpp
changeset 59147 e735301d76b9
parent 58705 f5662bdbee4a
equal deleted inserted replaced
59146:455612b3161a 59147:e735301d76b9
    67 void ZThreadLocalAllocBuffer::retire(Thread* thread) {
    67 void ZThreadLocalAllocBuffer::retire(Thread* thread) {
    68   if (UseTLAB && thread->is_Java_thread()) {
    68   if (UseTLAB && thread->is_Java_thread()) {
    69     ThreadLocalAllocStats* const stats = _stats->addr();
    69     ThreadLocalAllocStats* const stats = _stats->addr();
    70     thread->tlab().addresses_do(fixup_address);
    70     thread->tlab().addresses_do(fixup_address);
    71     thread->tlab().retire(stats);
    71     thread->tlab().retire(stats);
    72     thread->tlab().resize();
    72     if (ResizeTLAB) {
       
    73       thread->tlab().resize();
       
    74     }
    73   }
    75   }
    74 }
    76 }
    75 
    77 
    76 void ZThreadLocalAllocBuffer::remap(Thread* thread) {
    78 void ZThreadLocalAllocBuffer::remap(Thread* thread) {
    77   if (UseTLAB && thread->is_Java_thread()) {
    79   if (UseTLAB && thread->is_Java_thread()) {