RFR JDK-8011940 : java.lang.Class.getAnnotations() always enters synchronized method

Aleksey Shipilev aleksey.shipilev at oracle.com
Wed Aug 7 16:42:07 UTC 2013


Hi Peter,

On 08/07/2013 08:18 PM, Peter Levart wrote:
> http://cr.openjdk.java.net/~plevart/jdk8-tl/AnnotationData/webrev.01/

Yeah, looks familiar. The install loop is very complicated though, can
we simplify it? It seems profitable to move the retry loop up into
annotationData(): you then don't have to pass the $annotationData, you
can merge the exit paths for $classRedefinedCount, etc.

-Aleksey.






More information about the core-libs-dev mailing list