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

[lworld][c1] runtime.valhalla.valuetypes.ValueTypeArray fails with C1

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      When running with C1:

      $ cd test/hotspot/jtreg/runtime/valhalla/valuetypes/
      $ jtreg -javaoption:-XX:+EnableValhallaC1 -javaoption:-XX:TieredStopAtLevel=1 ValueTypeArray.java

      The Vm asserts here: http://hg.openjdk.java.net/valhalla/valhalla/file/c8c7d759f9c0/src/hotspot/share/c1/c1_Runtime1.cpp#l450

      JRT_ENTRY(void, Runtime1::load_flattened_array(JavaThread* thread, valueArrayOopDesc* array, int index))
        ....
        // We have a non-empty flattened array, so the element type must have been initialized.
      >>assert(vklass->is_initialized(), "must be");

        Attachments

          Activity

            People

            • Assignee:
              iklam Ioi Lam
              Reporter:
              iklam Ioi Lam
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: