-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 27
-
Component/s: hotspot
test/jdk/java/lang/instrument/GetObjectSizeIntrinsicsTest.java
ARRAY_HEADER_SIZE is wrong for 32 bit. Should be 12.
Practically it does not matter for the test, since all values are aligned up to object alignment anyway, which is hard-coded to 8 bytes for 32bit, and cannot be smaller than machine word size on 64-bit. Just a clarity issue.
ARRAY_HEADER_SIZE is wrong for 32 bit. Should be 12.
Practically it does not matter for the test, since all values are aligned up to object alignment anyway, which is hard-coded to 8 bytes for 32bit, and cannot be smaller than machine word size on 64-bit. Just a clarity issue.