Request for review: 6799689

Mandy Chung Mandy.Chung at Sun.COM
Thu Feb 26 01:27:57 UTC 2009


6799689 Make sun.misc.FloatingDecimal.hexFloatPattern static field 
initialized lazily

Webrev:
    http://cr.openjdk.java.net/~mchung/6799689/webrev.00/

The Pattern object is not always needed but is currently instantiated in 
the static initializer. Lazy initialization of the hexFloatFattern 
static field will save the regex classes not to be loaded until it's needed.

Thanks
Mandy



More information about the core-libs-dev mailing list