equal
deleted
inserted
replaced
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()) { |