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

Thomas Schatzl thomas.schatzl at oracle.com
Tue Nov 19 08:22:58 UTC 2019


Hi,

On 19.11.19 08:14, Per Liden wrote:
> ZGC currently calls ThreadLocalAllocBuffer::resize() regardless of if 
> -XX:ResizeTLAB is enabled or not. This causes the following assert to fail:
> 
> #  Internal Error 
> (open/src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp:130), 
> 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
> 
> /Per

   looks good.

Thomas



More information about the hotspot-gc-dev mailing list