Query from PhD student

Andrew Haley aph at redhat.com
Fri Dec 16 23:27:46 UTC 2016


On 16/12/16 20:08, David Clarke wrote:
> Good People,
> 
> I am trying to understand the class MembarNode (com.oracle.graal.nodes) in the “extended" folder.
> 
> The integer field barriers is clearly related to the type of memory barrier to be inserted.  However, I can’t find any documentation that tells me whether the value is intended to uniquely identify the type of memory barrier or is bit significant.  Please can you point me to the class in which this is defined.

The base definitions are here:

http://hg.openjdk.java.net/jdk9/hs/hotspot/file/66e2100be052/src/jdk.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/MemoryBarriers.java

Andrew.



More information about the graal-dev mailing list