Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8354892

[lworld] C1 constant folding of stable arrays doesn't support flat arrays

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • repo-valhalla
    • repo-valhalla
    • 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.

            fparain Frederic Parain
            fparain Frederic Parain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: