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

Michael Barker mikeb01 at gmail.com
Thu Dec 6 08:10:43 PST 2012


> 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?

If @Contended was implemented with the bootclasspath restriction
(which I hope it isn't) then it would allow me to measure how much
this is a problem for individual users.

The advantage of this is that I'll probably need to maintain 2
versions of the code for some period of time and having @Contended in
JDK7 means that I could drop support for the older version sooner.

Mike.


More information about the hotspot-dev mailing list