JDK 8 code review request for 6838776 Defer initialization of static fields in java.math.BigInteger (original) (raw)
Mike Duigou mike.duigou at oracle.com
Sat Sep 3 01:26:59 UTC 2011
- Previous message: JDK 8 code review request for 6838776 Defer initialization of static fields in java.math.BigInteger
- Next message: JDK 8 code review request for 6838776 Defer initialization of static fields in java.math.BigInteger
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Looks good. Nice little performance tweak.
You may want to use ExceptionInInitializerError rather than plain Error.
Mike
On Sep 2 2011, at 17:44 , joe.darcy at oracle.com wrote:
Hello.
Please review this change to only instantiated an Unsafe object in BigInteger and BigDecimal if serialization is done: 6838776 Defer initialization of static fields in java.math.BigInteger http://cr.openjdk.java.net/~darcy/6838776.0/ Thanks, -Joe
- Previous message: JDK 8 code review request for 6838776 Defer initialization of static fields in java.math.BigInteger
- Next message: JDK 8 code review request for 6838776 Defer initialization of static fields in java.math.BigInteger
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]