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

[JVMCI] Unable to use CompilerToVM with option: -Djvmci.option.UseProfilingInformation=true

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • hotspot

    Description

      A CompilerToVM method can't be used in case -Djvmci.option.UseProfilingInformation=true is specified. An error output (i've replaced actual path with $JAVA_HOME )

      Exception in thread "main" java.lang.InternalError: $JAVA_HOME/lib/jvmci does not exist
      at jdk.internal.jvmci.options.JVMCIJarsOptionDescriptorsProvider.findJVMCIJars(JVMCIJarsOptionDescriptorsProvider.java:58)
      at jdk.internal.jvmci.options.JVMCIJarsOptionDescriptorsProvider.<init>(JVMCIJarsOptionDescriptorsProvider.java:45)
      at jdk.internal.jvmci.options.OptionsParser.parseOptionsFromVM(OptionsParser.java:70)
      at jdk.internal.jvmci.runtime.JVMCI.initializeRuntime(Native Method)
      at jdk.internal.jvmci.runtime.JVMCI.<clinit>(JVMCI.java:58)
      at jdk.internal.jvmci.hotspot.HotSpotJVMCIRuntime.<clinit>(HotSpotJVMCIRuntime.java:51)
      at jdk.internal.jvmci.hotspot.HotSpotResolvedJavaMethodImpl.getHolder(HotSpotResolvedJavaMethodImpl.java:69)
      at jdk.internal.jvmci.hotspot.HotSpotResolvedJavaMethodImpl.fromMetaspace(HotSpotResolvedJavaMethodImpl.java:87)
      at jdk.internal.jvmci.hotspot.CompilerToVM.getResolvedJavaMethodAtSlot(Native Method)
      at jdk.internal.jvmci.hotspot.CompilerToVMHelper.getResolvedJavaMethodAtSlot(CompilerToVMHelper.java:180)
      at compiler.jvmci.common.CTVMUtilities.getResolvedMethod(CTVMUtilities.java:54)
      at compiler.jvmci.common.CTVMUtilities.getResolvedMethod(CTVMUtilities.java:59)
      at test.test.main(test.java:12)

      Attachments

        Activity

          People

            twisti Christian Thalinger
            dpochepk Dmitrij Pochepko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: