[concurrency-interest] jdk9 VarHandle and Fence methods

Martin Buchholz martinrb at google.com
Mon Aug 24 12:59:38 EDT 2015


On Mon, Aug 24, 2015 at 5:45 AM, thurstonn <thurston at nomagicsoftware.com>
wrote:

> Thanks for the clarification.
> I generally had considered "memory fence" and "memory barrier" as more or
> less interchangeable.
>

It's even more confusing, I think, since "memory barrier" and "gc barrier"
seem to be different things.  "memory fence" and "memory barrier" may be
the same thing, but the word "fence" is more likely to be used with actual
machine instructions ... except that sparc has a "membar" instruction, and
sparc strongly influenced hotspot?!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20150824/c2c71cdb/attachment.html>


More information about the Concurrency-interest mailing list