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

[lworld][c1] enqueueMethodForCompilation uses wrong level when testing with C1 only

    Details

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

      Description

      Many tests in the http://hg.openjdk.java.net/valhalla/valhalla/file/3de42b2ccd6c/test/hotspot/jtreg/compiler/valhalla/valuetypes directory call WHITE_BOX.enqueueMethodForCompilation(method, COMP_LEVEL_FULL_OPTIMIZATION) to force a method to be compiled. However, this will fail if the tests are running for C1 only. I.e., with "jtreg -javaoption:-XX:+EnableValhallaC1 -javaoption:-XX:TieredStopAtLevel=1".

        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: