[jmm-dev] @Contended

Andrew Haley aph at redhat.com
Wed Apr 27 09:33:07 UTC 2016

The issue of contention has come up and it reminds me of an issue I'd
wondered about.

Why is @Contended in sun.misc?  Why is it only available to system
code?  It's surely better to allow programmers to use this annotation
than to pad their objects with dummy fields to prevent false sharing.


More information about the jmm-dev mailing list