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

Doug Lea dl at cs.oswego.edu
Fri Nov 13 01:01:28 UTC 2015

On 11/12/2015 08:23 AM, Paul Sandoz wrote:
> Hi,
> I don’t think anyone disagrees on the usefulness of @Contended.
> Beyond the JDK and 166 are there any more usages out there in the wild?

My take after browsing through some of these external libraries is that
most people still use non-portable (but usually effective on common
platforms) manual padding hacks. I imagine that they do this so that
the code does not break on pre-jdk8. Given how this is turning out,
they will have no motivation to change what they do until jdk10 or so.


More information about the core-libs-dev mailing list