-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P5
-
Affects Version/s: 9, 10
-
Component/s: hotspot
LibraryCallKit::inline_string_copy() and LibraryCallKit::inline_string_getCharsU() use LibraryCallKit::tightly_coupled_allocation() to skip zeroing the array elements of a tightly coupled array allocation. However, the intrinsics do not take care of zeroing remaining array elements not affected by the intrinsic operation.
Currently, this is not a problem because all (String API internal) usages of the intrinsics that have a tightly coupled allocation make sure that the entire array is initialized. However, we should fix this to avoid potential bugs.
Currently, this is not a problem because all (String API internal) usages of the intrinsics that have a tightly coupled allocation make sure that the entire array is initialized. However, we should fix this to avoid potential bugs.
- duplicates
-
JDK-8139132 CompactStrings intrinsics should use ArrayCopyNode
-
- Closed
-
- relates to
-
JDK-8054307 JEP 254: Compact Strings
-
- Closed
-