[concurrency-interest] @Contended (JEP-142)

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Nov 30 05:07:14 EST 2012


On 11/30/2012 03:42 AM, oleksandr otenko wrote:
> Does it need to have Retention policy = RUNTIME?

That's an interesting point, and that is probably solves the compability
problems, as Remi said, because you will not be able to kick off
NoSuchClassException while traversing annotations.

The downside is that (layout) monitoring tools might want to detect the
annotation at runtime, if that is not a concern, I'm OK with making it
CLASS.

-Aleksey.



More information about the Concurrency-interest mailing list