git: openjdk/jdk: master: 8344168: Change Unsafe base offset from int to long

Shaojin Wen swen at openjdk.org
Thu Jan 30 15:58:59 UTC 2025


Changeset: fdfb68c8
Branch: master
Author:    Shaojin Wen <swen at openjdk.org>
Date:      2025-01-30 15:57:13 +0000
URL:       https://git.openjdk.org/jdk/commit/fdfb68c8d0fddfe527291a7f4b75176c830dbb49

8344168: Change Unsafe base offset from int to long

Reviewed-by: liach

! src/java.base/share/classes/java/lang/StringLatin1.java
! src/java.base/share/classes/java/lang/invoke/VarHandles.java
! src/java.base/share/classes/java/util/concurrent/ConcurrentHashMap.java
! src/java.base/share/classes/java/util/zip/CRC32C.java
! src/java.base/share/classes/java/util/zip/ZipUtils.java
! src/java.base/share/classes/jdk/internal/classfile/impl/RawBytecodeHelper.java
! src/java.base/share/classes/jdk/internal/foreign/HeapMemorySegmentImpl.java
! src/java.base/share/classes/jdk/internal/foreign/Utils.java
! src/java.base/share/classes/jdk/internal/misc/Unsafe.java
! src/java.base/share/classes/jdk/internal/util/ArraysSupport.java
! src/java.base/share/classes/jdk/internal/util/DecimalDigits.java
! src/java.base/unix/classes/sun/nio/fs/UnixUserDefinedFileAttributeView.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ByteVector.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/DoubleVector.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/FloatVector.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/IntVector.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/LongVector.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ShortVector.java
! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/X-Vector.java.template
! src/jdk.unsupported/share/classes/sun/misc/Unsafe.java
! test/hotspot/jtreg/compiler/c2/Test6968348.java
! test/hotspot/jtreg/compiler/c2/cr8004867/TestIntUnsafeCAS.java
! test/hotspot/jtreg/compiler/c2/cr8004867/TestIntUnsafeOrdered.java
! test/hotspot/jtreg/compiler/c2/cr8004867/TestIntUnsafeVolatile.java
! test/hotspot/jtreg/compiler/loopopts/superword/TestMovingLoadBeforeStore.java
! test/hotspot/jtreg/compiler/runtime/Test8010927.java
! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestBoolean.java
! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestByte.java
! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestChar.java
! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestDouble.java
! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestFloat.java
! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestInt.java
! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestLong.java
! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestObject.java
! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestShort.java
! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestBoolean.java
! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestByte.java
! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestChar.java
! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestDouble.java
! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestFloat.java
! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestInt.java
! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestLong.java
! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestObject.java
! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestShort.java
! test/hotspot/jtreg/compiler/unsafe/X-UnsafeAccessTest.java.template
! test/hotspot/jtreg/gc/arguments/TestMaxMinHeapFreeRatioFlags.java
! test/hotspot/jtreg/gc/arguments/TestTargetSurvivorRatioFlag.java
! test/hotspot/jtreg/runtime/FieldLayout/BaseOffsets.java
! test/hotspot/jtreg/runtime/Unsafe/GetField.java
! test/hotspot/jtreg/runtime/Unsafe/InternalErrorTest.java
! test/micro/org/openjdk/bench/java/lang/foreign/BulkOps.java
! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstantHeap.java
! test/micro/org/openjdk/bench/java/lang/foreign/xor/GetArrayUnsafeXorOpImpl.java



More information about the jdk-changes mailing list