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

[GRAAL] Skip Graal build if C1 is not present.

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Hotspot can be built without C1 (or C2): --with-jvm-features=-compiler1
      But Graal Java JIT requires C1 compiler to compile itself. Otherwise it takes long time to compile first hot methods because Graal have to compile itself and run in Interpreter until then. Few tests timeout in such configuration.
      Build code have check for JVMCI but not for Graal:

      http://hg.openjdk.java.net/jdk/jdk/file/d8cd1a8ae50f/make/autoconf/hotspot.m4#l324

      But that check only work when you specified --with-jvm-features=jvmci and it does not work for case when C1 or C2 is disabled --with-jvm-features=-compiler2. Script should check DISABLED_JVM_FEATURES variable for disabled features.

        Attachments

          Activity

            People

            Assignee:
            kvn Vladimir Kozlov
            Reporter:
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: