On 11/11/2015 07:06 AM, Chris Hegarty wrote:
http://cr.openjdk.java.net/~chegar/8140687/00/
While this is up for review, could someone please explain
again why @Contended should not be a public annotation?
Sorry Doug, I don’t have the answer to your question. I was
not involved in the original @Contended support. Since it
was added in JDK 8, we have some experience with it now,
so maybe this would help influence any future discussion on
its possible inclusion in Java SE.
Sorry to be a pest about this. But, as I should have noticed
before, taking away sun.misc.Contended without providing any
alternative for non-JDK users seems to be the only exception to
the stated policy of only removing functionality that has a jdk9
equivalent, or else making it public. If this exception was not
deliberate, then it is better to reconsider this now vs later.
-Doug