RFR: 8221701: Archive constant BaseLocales
claes.redestad at oracle.com
Mon Apr 1 15:46:12 UTC 2019
by archiving constant BaseLocale objects, we can simplify (and speed up)
creation of the constant Locale objects in java.util.Locale which are
unconditionally created during startup.
Testing: tier1-3, along with patches for JDK-8221723 and
Performance: a small reduction in bytecode executed during startup (-6k,
or ~1% of bootstrap), a small reduction in number of classes loaded
on small applications (458 -> 451 on a simple Hello World).
More information about the core-libs-dev