On Sunday, October 30, 2016, Aleksey Shipilev <aleksey.shipi...@gmail.com> wrote:
> On 10/29/2016 10:31 PM, Vitaly Davidovich wrote: > > There's one thing I still can't get someone at Oracle to clarify, which > > is whether getOpaque ensures atomicity of the read. I believe it would, > > but I don't think it's been explicitly stated thus far. > > Like std::atomic(..., mem_ord_relaxed), VarHandles.{get,set}Opaque are > access (single-copy) atomic. Ok good. Any chance this will be added to the javadoc to avoid any ambiguity? > > Thanks, > -Aleksey > > > -- > You received this message because you are subscribed to the Google Groups > "mechanical-sympathy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to mechanical-sympathy+unsubscr...@googlegroups.com <javascript:;>. > For more options, visit https://groups.google.com/d/optout. > -- Sent from my phone -- You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group. To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.