mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-24 13:51:12 +00:00
8377456: GetObjectSizeIntrinsicsTest.java, ARRAY_HEADER_SIZE wrong for 32-bit
Reviewed-by: stuefe
This commit is contained in:
parent
e0fa3d2f81
commit
02bce505ee
@ -315,7 +315,7 @@ public class GetObjectSizeIntrinsicsTest extends ASimpleInstrumentationTestCase
|
||||
static final int LARGE_OBJ_ARRAY_SIZE = (4096/(int)REF_SIZE)*1024*1024 + 1024;
|
||||
|
||||
static final boolean CCP = WhiteBox.getWhiteBox().getBooleanVMFlag("UseCompressedClassPointers");
|
||||
static final int ARRAY_HEADER_SIZE = CCP ? 16 : (Platform.is64bit() ? 20 : 16);
|
||||
static final int ARRAY_HEADER_SIZE = CCP ? 16 : (Platform.is64bit() ? 20 : 12);
|
||||
|
||||
final String mode;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user