Re: [PATCH] Docfix for Unsafe regarding fence methods

2020-08-31 Thread Ian Graves
Hans, You raise a good point! I was attempting to re-adapt the existing language with the changes I made. I’m going to update this post to an RFR after the Skara update next week and repost (got mixed up on my process). There will be some simplified language that hopefully addresses your conc

Re: [PATCH] Docfix for Unsafe regarding fence methods

2020-08-28 Thread Hans Boehm
On Fri, Aug 28, 2020 at 1:21 PM Ian Graves wrote: > > Looks like the patch attachment was stripped. I’ll include it inline: > —Ian > > ... > @@ -3458,6 +3462,12 @@ > /** > * Ensures that stores before the fence will not be reordered with > * stores after the fence. > + * > +

Re: [PATCH] Docfix for Unsafe regarding fence methods

2020-08-28 Thread Ian Graves
Looks like the patch attachment was stripped. I’ll include it inline: —Ian diff -r 3e9d813ff918 src/java.base/share/classes/jdk/internal/misc/Unsafe.java --- a/src/java.base/share/classes/jdk/internal/misc/Unsafe.java Thu Aug 27 20:20:39 2020 +0200 +++ b/src/java.base/share/classes/jdk/internal/