[concurrency-interest] jdk9 VarHandle and Fence methods

Andrew Haley aph at redhat.com
Mon Aug 24 13:26:15 EDT 2015

On 08/24/2015 05:59 PM, Martin Buchholz wrote:
> On Mon, Aug 24, 2015 at 5:45 AM, thurstonn <thurston at nomagicsoftware.com <mailto: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?!

Well, yes.  But we are trying.  :-)


More information about the Concurrency-interest mailing list