hg: valhalla/valhalla/jdk: Support atomic add operations for int/long. For refs the operations will throw UnsupportedOperationException (currently wrapped in an Error, due to how the guard functions are currently structured).

paul.sandoz at oracle.com paul.sandoz at oracle.com
Mon Sep 8 17:17:21 UTC 2014


Changeset: 968d2534b0ff
Author:    psandoz
Date:      2014-09-08 19:14 +0200
URL:       http://hg.openjdk.java.net/valhalla/valhalla/jdk/rev/968d2534b0ff

Support atomic add operations for int/long. For refs the operations will throw UnsupportedOperationException (currently wrapped in an Error, due to how the guard functions are currently structured).

! src/java.base/share/classes/java/lang/invoke/ArrayHandle.java
! src/java.base/share/classes/java/lang/invoke/ArrayIntArrayHandle.java
! src/java.base/share/classes/java/lang/invoke/BaseVarHandle.java
! src/java.base/share/classes/java/lang/invoke/FieldHandle.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/OffHeapRegion.java
! src/java.base/share/classes/java/lang/invoke/VarForm.java
! src/java.base/share/classes/java/lang/invoke/VarHandle.java
! src/java.base/share/classes/java/lang/invoke/VarHandleGuards.java
! src/java.base/share/classes/java/lang/invoke/VarHandles.java
! test/java/lang/invoke/ArrayHandleTest.java
! test/java/lang/invoke/FieldHandleTest.java
! test/java/lang/invoke/OffHeapRegionHandleTest.java
! test/java/lang/invoke/VarHandleTest.java



More information about the valhalla-dev mailing list