The current wording of what is being called now JEP-285 [1] has placed onSpinWait() method into j.l.Thread. Hence, a new revision of the webrev. Everything is the same, except now it is the Thread class.

http://cr.openjdk.java.net/~ikrylov/8147844.jdk.03/

Please, approve.

Thanks,

Ivan

[1] - openjdk.java.net/jeps/285

On 27/01/2016 09:53, Ivan Krylov wrote:
Updated to http://cr.openjdk.java.net/~ikrylov/8147844.jdk.02/
The sample JavaDoc has been updated too: http://ivankrylov.github.io/onspinwait/api/java/lang/Runtime.html#onSpinWait--

Alan, Thank you.

On 27/01/2016 18:20, Alan Bateman wrote:


On 27/01/2016 14:10, Ivan Krylov wrote:
Indeed, thanks!
New webrev http://cr.openjdk.java.net/~ikrylov/8147844.jdk.01/

Can you add @since 9 too?

-Alan.


Reply via email to