Following JDK-8348599, Java code using Unsafe.getValue() and Unsafe.putValue() must be update to use the new Unsafe.getFlatValue() and Unsafe.putFlatValue() instead.
The classes impacted by this change are:
- java/lang/invoke/VarHandleValues.java (generated class)
- java/io/ObjectStreamClass.java
- jdk/internal/misc/Unsafe.java
Also there are non-direct references in LambdaForm, as `getValue` `getValueVolatile` and the set versions.
Methods Unsafe.getValue() and Unsafe.putValue() will eventually be removed once no more JDK code uses them.
The classes impacted by this change are:
- java/lang/invoke/VarHandleValues.java (generated class)
- java/io/ObjectStreamClass.java
- jdk/internal/misc/Unsafe.java
Also there are non-direct references in LambdaForm, as `getValue` `getValueVolatile` and the set versions.
Methods Unsafe.getValue() and Unsafe.putValue() will eventually be removed once no more JDK code uses them.
- blocks
-
JDK-8348608 [lworld] Some Unsafe methods to access values are globally synchronized
-
- New
-
- duplicates
-
JDK-8331502 [lworld] Support of nullable flat fields in core-libs
-
- Closed
-
- relates to
-
JDK-8349110 [lworld] Intrinsics for Unsafe.get/putFlatValue
-
- Open
-
-
JDK-8348899 Widen MemberName.flags from int to long
-
- Closed
-
- links to
-
Commit(lworld) openjdk/valhalla/ab4ae37b
-
Review(lworld) openjdk/valhalla/1340
(1 links to)