RFR(XS): 8229407: Avoid ConcurrentHashMap resizes during bootstrap

Aleksey Shipilev shade at redhat.com
Mon Aug 12 10:49:01 UTC 2019


On 8/12/19 12:13 PM, Claes Redestad wrote:
> Hi core-libs,
> 
> analysis shows that a handful of small ConcurrentHashMaps used during
> bootstrap is subject to some amount of resizing. Initializing these to
> slightly larger values improves startup metrics measurably on default
> images without regressing performance on minimal images.
> 
> Bug:    https://bugs.openjdk.java.net/browse/JDK-8229407
> Webrev: http://cr.openjdk.java.net/~redestad/8229407/webrev.00/

Looks fine.

-Aleksey



More information about the core-libs-dev mailing list