Files
javademos/unsafe-migration/output/01-unsafe-methods-per-jdk.txt
2026-11-06 21:43:48 +05:30

120 lines
2.1 KiB
Plaintext

== openjdk version "21.0.12.1" 2026-08-18
java.version=21.0.12.1
public methods declared by sun.misc.Unsafe: 88
deprecated for removal: 2
not deprecated for removal: 86
addressSize
allocateInstance
allocateMemory
arrayBaseOffset
arrayIndexScale
compareAndSwapInt
compareAndSwapLong
compareAndSwapObject
copyMemory
copyMemory
freeMemory
fullFence
getAddress
getAndAddInt
getAndAddLong
getAndSetInt
getAndSetLong
getAndSetObject
getBoolean
getBooleanVolatile
getByte
getByte
getByteVolatile
getChar
getChar
getCharVolatile
getDouble
getDouble
getDoubleVolatile
getFloat
getFloat
getFloatVolatile
getInt
getInt
getIntVolatile
getLoadAverage
getLong
getLong
getLongVolatile
getObject
getObjectVolatile
getShort
getShort
getShortVolatile
invokeCleaner
loadFence
objectFieldOffset (deprecated, not for removal)
pageSize
park
putAddress
putBoolean
putBooleanVolatile
putByte
putByte
putByteVolatile
putChar
putChar
putCharVolatile
putDouble
putDouble
putDoubleVolatile
putFloat
putFloat
putFloatVolatile
putInt
putInt
putIntVolatile
putLong
putLong
putLongVolatile
putObject
putObjectVolatile
putOrderedInt
putOrderedLong
putOrderedObject
putShort
putShort
putShortVolatile
reallocateMemory
setMemory
setMemory
staticFieldBase (deprecated, not for removal)
staticFieldOffset (deprecated, not for removal)
storeFence
throwException
unpark
== openjdk version "25.0.5" 2026-10-20 LTS
java.version=25.0.5
public methods declared by sun.misc.Unsafe: 86
deprecated for removal: 83
not deprecated for removal: 3
allocateInstance
pageSize
throwException
== openjdk version "26.0.2.1" 2026-08-18
java.version=26.0.2.1
public methods declared by sun.misc.Unsafe: 86
deprecated for removal: 83
not deprecated for removal: 3
allocateInstance
pageSize
throwException
== openjdk version "27.0.1.0.2" 2026-10-21
java.version=27.0.1.0.2
public methods declared by sun.misc.Unsafe: 86
deprecated for removal: 83
not deprecated for removal: 3
allocateInstance
pageSize
throwException