RFR: 8210753: Make ThreadLocalAllocBuffer::resize() public

Erik Österlund erik.osterlund at oracle.com
Fri Sep 14 11:55:07 UTC 2018

Hi Per,

Looks good.


On 2018-09-14 13:47, Per Liden wrote:
> Make ThreadLocalAllocBuffer::resize() public to allow a GC to resize 
> TLABs in parallel. With resize() public I propose that we remove 
> ThreadLocalAllocBuffer::resize_all_tlabs() and let 
> CollectedHeap::resize_all_tlabs() iterate over the threads, just like 
> CollectedHeap::ensure_parsability() does.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8210753
> Webrev: http://cr.openjdk.java.net/~pliden/8210753/webrev.0
> /Per

More information about the hotspot-gc-dev mailing list