RFR (S) CR 8014966: Add the proper Javadoc to @Contended

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu May 23 16:16:26 UTC 2013


On 05/23/2013 07:57 PM, Peter Levart wrote:
> Have I understood this correctly?

Yes. @Contended on class is currently the shorthand for the @Contended
with the same (but unknown) tag over all the fields. However, in future
this might change, because @Contended on class might also guard the
object header, as soon as we are brave enough to tap into the GC
interface to allocate the @C objects aligned for the cache line boundary.

-Aleksey.



More information about the core-libs-dev mailing list