RFR (S): JEP-142: Reduce Cache Contention on Specified Fields

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu Dec 6 05:10:14 PST 2012


On 12/06/2012 01:31 PM, Michael Barker wrote:
> I agree, almost to the point where it wouldn't worth the effort to
> produce a JDK8+ specific implementation of the Disruptor (or any other
> re-usable library) that used @Contended instead of the manual padding.
>  I think users would follow the path of least resistance and use the
> one with manual padding.  Admittedly I'm guessing, so I'll definitely
> attempt to use this when it comes available and measure the uptake.

I've been asking this on concurrency-interest@, but let's go through
this here. Imagine some weird Christmas miracle had happened, and
@Contended is actually available starting some JDK 7 update. Will that
change anything in the adoption scenarios we are speculating now?

-Aleksey.


More information about the hotspot-dev mailing list