On 07/03/2016 17:40, David Holmes wrote:
Hi Ivan,

On 8/03/2016 11:04 AM, Ivan Krylov wrote:
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/

Make sure the commit comment reflects the new synopsis :)
Yes, indeed, noticed this too late or sent to early.
Fixed in place.

I thought at some point there was discussion of giving a usage example in the javadoc? I think most people would be quite puzzled after reading the technical spec alone.
Ok, I will add something like an example once I figure out the javadoc syntax. Will post here when done.

Thanks,

Ivan



Thanks,
David

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