--- a/src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp Tue Sep 18 16:11:36 2018 -0400
+++ b/src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp Tue Sep 18 22:46:35 2018 +0200
@@ -138,14 +138,6 @@
"TLAB must be reset");
}
-void ThreadLocalAllocBuffer::resize_all_tlabs() {
- if (ResizeTLAB) {
- for (JavaThreadIteratorWithHandle jtiwh; JavaThread *thread = jtiwh.next(); ) {
- thread->tlab().resize();
- }
- }
-}
-
void ThreadLocalAllocBuffer::resize() {
// Compute the next tlab size using expected allocation amount
assert(ResizeTLAB, "Should not call this otherwise");