[concurrency-interest] @Contended (JEP-142)
gregg at cytetech.com
Wed Nov 28 11:47:17 EST 2012
Also, in the grander scheme of things, if, annotations are "runtime", and if we
extended their definitions, there could be a default method of "whenImplemented"
and another of "whenMissing" for example, that the JVM could invoke. The
implementing JVMs/environments, could then modify the "default" version of
these. The defaults, might then print an appropriate log message so that
users/developers would know when to expect appropriate enhancements.
On 11/28/2012 3:53 AM, Aleksey Shipilev wrote:
> On 11/28/2012 01:44 PM, √iktor Ҡlang wrote:
>> 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?
>> Even if that was done, what about J9, Dalvik etc?
>> I think the sad fact here is that it will essentially only be usable
>> within the JDK for the foreseeable future.
> (I'll let Doug to chime in on J9, Dalvik, etc. endeavors with
> @Contended, if there are any).
> My question is very pragmatic though: if there is a strong desire to use
> this within Oracle JDK7, we can explore how much it would take to
> backport. Our current inclination is to use that in JDK8 only, but we
> can take the community response into the consideration.
> Concurrency-interest mailing list
> Concurrency-interest at cs.oswego.edu
More information about the Concurrency-interest