RFR: 8215159: Improve initial setup of system Properties

Claes Redestad claes.redestad at oracle.com
Mon Dec 10 21:17:31 UTC 2018


by inverting the order in which the internal property maps are created,
we avoid some classloading and get a slightly more efficient code
execution profile in System.initPhase1.

Webrev: http://cr.openjdk.java.net/~redestad/8215159/jdk.00/
Bug: https://bugs.openjdk.java.net/browse/JDK-8215159

This reduces bytecode executed in initPhase1 from ~48k to ~36k. Not
much by any measure, but minimizing System.initPhase1 is important since
certain parts of the VM (JIT etc) are blocked from initializing until
it's done.



More information about the core-libs-dev mailing list