+1000 sent from my phone On Nov 9, 2015 7:49 AM, "Doug Lea" <d...@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 > > >