Currently, MergeStores is limited to stores of the same size as the array elements.
But this means putChar of 2-bytes are not permitted to be merged for byte arrays.
Also see:
https://github.com/openjdk/jdk/pull/19626#issuecomment-2189509983
But this means putChar of 2-bytes are not permitted to be merged for byte arrays.
Also see:
https://github.com/openjdk/jdk/pull/19626#issuecomment-2189509983
- duplicates
-
JDK-8335392 C2 MergeStores: enhanced pointer parsing
-
- Resolved
-
- relates to
-
JDK-8318446 C2: optimize stores into primitive arrays by combining values into larger store
-
- Resolved
-