hg: valhalla/valhalla/jdk: For "getAcquire" methods the load-fence should be placed after (not before)

paul.sandoz at oracle.com paul.sandoz at oracle.com
Thu Aug 28 13:37:21 UTC 2014


Changeset: 085bf5f9edd5
Author:    psandoz
Date:      2014-08-28 15:36 +0200
URL:       http://hg.openjdk.java.net/valhalla/valhalla/jdk/rev/085bf5f9edd5

For "getAcquire" methods the load-fence should be placed after (not before)
the load of the value.

! src/java.base/share/classes/java/lang/invoke/ArrayIntArrayHandle.java
! src/java.base/share/classes/java/lang/invoke/ArrayRefArrayHandle.java
! src/java.base/share/classes/java/lang/invoke/ArrayRefHandle.java
! src/java.base/share/classes/java/lang/invoke/ArrayRefNoCastHandle.java
! src/java.base/share/classes/java/lang/invoke/FieldInstanceIntFieldHandle.java
! src/java.base/share/classes/java/lang/invoke/FieldInstanceIntHandle.java
! src/java.base/share/classes/java/lang/invoke/FieldInstanceLongHandle.java
! src/java.base/share/classes/java/lang/invoke/FieldInstanceRefFieldHandle.java
! src/java.base/share/classes/java/lang/invoke/FieldInstanceRefHandle.java
! src/java.base/share/classes/java/lang/invoke/FieldInstanceRefNoCastHandle.java
! src/java.base/share/classes/java/lang/invoke/OffHeapRegion.java



More information about the valhalla-dev mailing list