[concurrency-interest] @Contended (JEP-142)

Aleksey Shipilev aleksey.shipilev at oracle.com
Wed Nov 28 06:52:43 EST 2012


On 11/28/2012 03:44 PM, Remi Forax wrote:
> On 11/28/2012 10:32 AM, Aleksey Shipilev wrote:
>> On 11/28/2012 05:05 AM, √iktor Ҡlang wrote:
>>> Indeed, but will @Contended be magically available on old JDKs?
>>> The only thing I want is not to be able to keep separate code bases for
>>> JDK9 and then JDK8-6 just because @Contended is only present in JDK9.
>> Correction: as far as current plans go, this is on track for JDK8.
>>
>> Would it help adoption if this would get backported to JDK7 (you will
>> have to have the recent update release nevertheless)? Would that be
>> sensible to backport to JDK6 at all?
> 
> It's one advantage to have the annotation in sun.misc,
> you can backport it to some update of jdk7 without any trouble.
> 

Sure. The significant part is VM support though.

-Aleksey.



More information about the Concurrency-interest mailing list