-
Enhancement
-
Resolution: Unresolved
-
P4
-
repo-valhalla
The optimization added by JDK-8228622 assumes that when we load from an unknown array via 'Parse::load_from_unknown_flat_array' and then cast the result to a non-value class, we can deduce that the array is not flat if the cast succeeds. That only applies to null-free, flat but not to nullable, flat arrays (since JDK-8341767) because null will pass the cast. The relevant tests in TestLWorld.java are marked with "// TODO 8355382".
See https://mail.openjdk.org/pipermail/valhalla-dev/2019-September/006325.html for details ofJDK-8228622.
See https://mail.openjdk.org/pipermail/valhalla-dev/2019-September/006325.html for details of
- relates to
-
JDK-8355317 [lworld] C2 Runtime load_unknown_inline should not return null-free type
-
- Resolved
-
-
JDK-8228622 [lworld] Ineffective codegeneration for flattened arrays checks causes large performance regression on List iteration
-
- Resolved
-