RFR: 8065172: More core reflection final and volatile annotations

Stanimir Simeonoff stanimir at riflexo.com
Wed Nov 19 07:36:19 UTC 2014


Signature hashCode  (the static class in MethodUtil) should be eagerly
calculated (i.e. a final field too) since the only usage is being a key in
the hashmap.
I will add bit more later.


On Wed, Nov 19, 2014 at 2:42 AM, Martin Buchholz <martinrb at google.com>

> Hi Joe, Peter, Paul
> This is the followup on thread safety I promised Peter.
> As I said before, I'm willing to take the risk to use fields written
> via a race if we have a reflective test proving it correct, and the
> bug contains the 0.1 version of such a test.
> https://bugs.openjdk.java.net/browse/JDK-8065172
> http://cr.openjdk.java.net/~martin/webrevs/openjdk9/core-reflection-more-safety/

More information about the core-libs-dev mailing list