RFR: 8234379: ZGC: Do not resize TALBs unless -XX:ResizeTLAB is enabled

Per Liden per.liden at oracle.com
Tue Nov 19 07:14:01 UTC 2019

ZGC currently calls ThreadLocalAllocBuffer::resize() regardless of if 
-XX:ResizeTLAB is enabled or not. This causes the following assert to fail:

#  Internal Error 
pid=22060, tid=22069
#  assert(ResizeTLAB) failed: Should not call this otherwise

Bug: https://bugs.openjdk.java.net/browse/JDK-8234379
Webrev: http://cr.openjdk.java.net/~pliden/8234379/webrev.0


More information about the hotspot-gc-dev mailing list