[concurrency-interest] @Contended (JEP-142)
oleksandr.otenko at oracle.com
Thu Nov 29 19:01:25 EST 2012
I don't understand why JVM can't see the RuntimeInvisibleAnnotation
attribute at class load time. The layout hint is implemented in native,
and the Java land cannot do anything about that annotation.
On 29/11/2012 23:58, Vitaly Davidovich wrote:
> Yes, the JVM looks for it at class layout time (i.e. runtime :)).
> Sent from my phone
> On Nov 29, 2012 6:53 PM, "oleksandr otenko"
> <oleksandr.otenko at oracle.com <mailto:oleksandr.otenko at oracle.com>> wrote:
> Does it need to have Retention policy = RUNTIME?
> On 27/11/2012 17:40, Doug Lea wrote:
>> Aleksey has been making progress on a hotspot implementation of
>> the @Contended annotation. While this progresses, we'd also
>> like continued feedback about the java-level information, guidance,
>> examples, etc.
>> As a compromise that helps avoid controversy about its status
>> and specs, the @Contended annotation itself will probably be placed
>> in sun.misc, not java.util.concurrent.*. A staging version of
>> Contended.java is in our CVS though, with javadoc at:
>> Any comments and suggestions will be welcome.
>> Concurrency-interest mailing list
>> Concurrency-interest at cs.oswego.edu
>> <mailto:Concurrency-interest at cs.oswego.edu>
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
> <mailto:Concurrency-interest at cs.oswego.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest