Assorted annotation optimizations

Joel Borggrén-Franck joel.franck at oracle.com
Mon Nov 4 15:29:44 UTC 2013


Hi Peter,

As always, thanks for doing this!

On 2 nov 2013, at 22:58, Peter Levart <peter.levart at gmail.com> wrote:

> Hi,
> 
> I propose a set of straightforward optimizations of annotations in the field of minimizing garbage creation and execution performance. Here's a webrev containing the changes:
> 
> http://cr.openjdk.java.net/~plevart/jdk8-tl/AnnotationOptimizations/webrev.01/


Skimming this, I think most (or all) of this is good. However now is not the time to do it. This should go into 9 and 8u as soon as they are open for fixes.

FWIW I have also been toying with the idea of rewriting the storage of annotations in 9. IIRC you posted a patch with a very specific map for annotations. If we go down that road we should probably do a JEP.

cheers
/Joel


More information about the core-libs-dev mailing list