hg: jdk7u/jdk7u-dev/jdk: 7122142: (ann) Race condition between isAnnotationPresent and getAnnotations; ...

dmitry.degrave at oracle.com dmitry.degrave at oracle.com
Fri Mar 7 21:41:29 UTC 2014


Changeset: 45638df14aff
Author:    dmeetry
Date:      2014-03-08 01:40 +0400
URL:       http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/45638df14aff

7122142: (ann) Race condition between isAnnotationPresent and getAnnotations
7185456: (ann) Optimize Annotation handling in java/sun.reflect.* code for small number of annotations
8005232: (JEP-149) Class Instance size reduction
8022721: TEST_BUG: AnnotationTypeDeadlockTest.java throws java.lang.IllegalStateException: unexpected condition
Reviewed-by: jfranck, plevart, robilad

! src/share/classes/java/lang/Class.java
! src/share/classes/java/lang/System.java
! src/share/classes/sun/misc/JavaLangAccess.java
! src/share/classes/sun/reflect/annotation/AnnotationParser.java
! src/share/classes/sun/reflect/annotation/AnnotationType.java
+ test/java/lang/annotation/AnnotationType/AnnotationTypeDeadlockTest.java
+ test/java/lang/annotation/AnnotationType/AnnotationTypeRuntimeAssumptionTest.java



More information about the jdk7u-dev mailing list