RFR: 8029019: (ann) Optimize annotation handling in core reflection

Christoph Dreis christoph.dreis at freenet.de
Fri Oct 20 11:04:52 UTC 2017


Hey Claes and Peter,

> I'm somewhat strapped for cycles right now, so do you mind if I move ahead
> with the simpler patch Christoph proposed initially (and which Joel has
> already reviewed)?

unsurprisingly I'd go for the simple patch. It's even small enough to have it backported in my opinion.

> Looking back at the history of JDK-8029019 I personally prefer adding a way to
> get non-copying access to the Method parameter array rather than the
> declaringClass origin checking.

I like that idea - I could at least think of several places in open source libs that could benefit from something like that.

Cheers,
Christoph



More information about the core-libs-dev mailing list