Hi,

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.

Thanks!

/Claes

Reply via email to