-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 17, 18
-
Component/s: hotspot
-
b21
The literal_size functions are used to estimate the size of held objects in some of our hashtables.
Two bugs:
1) They return int, but the returned value is in bytes and could be larger than MAX_INT.
2) Non-String objects report words instead of bytes.
Two bugs:
1) They return int, but the returned value is in bytes and could be larger than MAX_INT.
2) Non-String objects report words instead of bytes.