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

Erik Österlund erik.osterlund at oracle.com
Tue Nov 19 08:15:14 UTC 2019


Hi Per,

Looks good.

Thanks,
/Erik

On 2019-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




More information about the hotspot-gc-dev mailing list