RFR [9] 8140687: Move @Contended to the jdk.internal.vm.annotation package (original) (raw)

Vitaly Davidovich vitalyd at gmail.com
Mon Nov 9 17:11:14 UTC 2015


+1000

sent from my phone On Nov 9, 2015 7:49 AM, "Doug Lea" <dl at cs.oswego.edu> wrote:

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 hotspot-runtime-dev mailing list