bottleneck by java.lang.Class.getAnnotations()

2012-11-01 Thread Alexander Knöller
Hi there. java.lang.Class.getAnnotations() always enters a synchronized-block, slowing down multi core machines that heavily make use of Annotations. (in our Case we use LoadTimeWeaving in the spring-framework 3.1.2) We are using sun-jdk 6 which has the same performance-bottleneck. openjdk7 and

Re: bottleneck by java.lang.Class.getAnnotations()

2012-11-01 Thread Alan Bateman
On 01/11/2012 13:17, Alexander Knöller wrote: Hi there. java.lang.Class.getAnnotations() always enters a synchronized-block, slowing down multi core machines that heavily make use of Annotations. (in our Case we use LoadTimeWeaving in the spring-framework 3.1.2) We are using sun-jdk 6 which has

Re: bottleneck by java.lang.Class.getAnnotations()

2012-11-01 Thread Joe Darcy
On 11/1/2012 7:11 AM, Alan Bateman wrote: On 01/11/2012 13:17, Alexander Knöller wrote: Hi there. java.lang.Class.getAnnotations() always enters a synchronized-block, slowing down multi core machines that heavily make use of Annotations. (in our Case we use LoadTimeWeaving in the spring-fram