RFR [9] 8140687: Move @Contended to the jdk.internal.vm.annotation package
Doug Lea
dl at cs.oswego.edu
Mon Nov 9 12:49:31 UTC 2015
On 11/09/2015 05:43 AM, Chris Hegarty wrote:
> On 02/11/15 10:45, Aleksey Shipilev wrote:
>> On 11/02/2015 02:56 AM, Chris Hegarty wrote:
>>> In line with the intended location for other VM annotations,
>>> see 8138732 [1], @sun.misc.Contended should be moved
>>> to the jdk.internal.vm.annotation package.
>>>
>>> http://cr.openjdk.java.net/~chegar/8140687/00/
>>
While this is up for review, could someone please explain
again why @Contended should not be a public annotation?
Without it, non-JDK concurrent data structures still have
to use the kinds of non-portable paddings that led us to
introduce the annotation. See for example JCTools
https://github.com/JCTools/JCTools
and Disruptor
http://lmax-exchange.github.io/disruptor/
-Doug
More information about the core-libs-dev
mailing list