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

Doug Lea dl at cs.oswego.edu
Tue Nov 27 15:16:32 EST 2012


On 11/27/12 13:39, Tim Halloran wrote:
> (point) The implementation in the JVM could consider a "sloppy"
> matching scheme which ignores the package -- so that, for example,
> com.my.code.Contended works just as well as sun.misc.Contended. This
> is easy to do, and I'm guessing there is an -XX: flag in the work to
> turn the whole scheme off in the unlikely case @Contended means the
> field was discussed in a code inspection (or some other nonsense).
>

Thanks; weird but fun. It might come to that. Or to someone creating
a little bytecode tool that translates anything.Contended
to sun.misc.Contended.

-Doug




More information about the Concurrency-interest mailing list