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

tools/launcher/modules/validate/ValidateModulesTest.java fails when launched with -XX:+EnableJVMCI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      generic
    • OS:
      generic

      Description


      Can be easily reproduced with:

      $ ./build/macosx-x86_64-normal-server-release/images/jdk/bin/java -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler --validate-modules
      Uncaught exception at /Users/cthalinger/jdk10/hs/hotspot/src/share/vm/jvmci/jvmciCompiler.cpp:137
      java.lang.NoClassDefFoundError: jdk/vm/ci/runtime/JVMCI

      This happens when the first tier 4 compilation is scheduled:

      $ ./build/macosx-x86_64-normal-server-release/images/jdk/bin/java -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler -XX:+PrintCompilation --validate-modules
      ...
           83 110 3 java.lang.invoke.MemberName::testFlags (16 bytes)
           83 111 3 java.lang.String::<init> (15 bytes)
           83 112 4 java.lang.String::hashCode (49 bytes)
      Uncaught exception at /Users/cthalinger/jdk10/hs/hotspot/src/share/vm/jvmci/jvmciCompiler.cpp:137
      java.lang.NoClassDefFoundError: jdk/vm/ci/runtime/JVMCI

        Attachments

          Activity

            People

            Assignee:
            mchung Mandy Chung
            Reporter:
            twisti Christian Thalinger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: