-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P3
-
Affects Version/s: repo-valhalla
-
Component/s: hotspot
C1's code to constant fold elements of stable arrays is not designed to support flat arrays (see ciArray::element_value_impl()). The feature has to extended to identify flat arrays at compilation times, and avoid trying to apply constant folding if such array is detected.