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

[Graal] Compiler thread calls into jdk.internal.vm.VMSupport.decodeAndThrowThrowable and crashes in OOM situation

XMLWordPrintable

    • b07

      Caused by: java.lang.InternalError: unexpected problem occurred while encoding an exception to translate it from the JVM heap: java.lang.InternalError

      Treating CompilationFailureAction as ExitVM due to assertion failure in libgraal: jdk.graal.compiler.java.BytecodeParser$BytecodeParserError: java.lang.InternalError: unexpected problem occurred while encoding an exception to translate it from the JVM heap: java.lang.InternalError
              <<no stack trace available>>

              at parsing sun.net.www.URLConnection.setRequestProperty(URLConnection.java:74)
      [[[Graal compilation failure]]]
      Thread[#22,JVMCI-native CompilerThread0,5,main]: Compilation of jdk.internal.loader.URLClassPath$JarLoader.ensureOpen() @ -1 failed:
      jdk.graal.compiler.java.BytecodeParser$BytecodeParserError: java.lang.InternalError: unexpected problem occurred while encoding an exception to translate it from the JVM heap: java.lang.InternalError
              <<no stack trace available>>

              at parsing sun.net.www.URLConnection.setRequestProperty(URLConnection.java:74)
              at jdk.graal.compiler/jdk.graal.compiler.java.BytecodeParser.throwParserError(BytecodeParser.java:2740)
              at jdk.graal.compiler/jdk.graal.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3753)
              at jdk.graal.compiler/jdk.graal.compiler.java.BytecodeParser.handleBytecodeBlock(BytecodeParser.java:3705)
              at jdk.graal.compiler/jdk.graal.compiler.java.BytecodeParser.processBlock(BytecodeParser.java:3552)
              at jdk.graal.compiler/jdk.graal.compiler.java.BytecodeParser.build(BytecodeParser.java:1163)
              at jdk.graal.compiler/jdk.graal.compiler.java.BytecodeParser.buildRootMethod(BytecodeParser.java:1055)
              at jdk.graal.compiler/jdk.graal.compiler.java.GraphBuilderPhase$Instance.run(GraphBuilderPhase.java:103)
              at jdk.graal.compiler/jdk.graal.compiler.java.GraphBuilderPhase.run(GraphBuilderPhase.java:68)
              at jdk.graal.compiler/jdk.graal.compiler.java.GraphBuilderPhase.run(GraphBuilderPhase.java:43)
              at jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:468)
              at jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:335)
              at jdk.graal.compiler/jdk.graal.compiler.phases.PhaseSuite.run(PhaseSuite.java:390)
              at jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:468)
              at jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:335)
              ...
              at jdk.graal.compiler/jdk.graal.compiler.core.GraalCompiler.compile(GraalCompiler.java:168)
              at jdk.graal.compiler/jdk.graal.compiler.core.GraalCompiler.compileGraph(GraalCompiler.java:136)
              at jdk.graal.compiler/jdk.graal.compiler.hotspot.HotSpotGraalCompiler.compileHelper(HotSpotGraalCompiler.java:257)
              at jdk.graal.compiler/jdk.graal.compiler.hotspot.HotSpotGraalCompiler.compile(HotSpotGraalCompiler.java:273)
              at jdk.graal.compiler/jdk.graal.compiler.hotspot.CompilationTask$HotSpotCompilationWrapper.performCompilation(CompilationTask.java:230)
              at jdk.graal.compiler/jdk.graal.compiler.hotspot.CompilationTask$HotSpotCompilationWrapper.performCompilation(CompilationTask.java:119)
              at jdk.graal.compiler/jdk.graal.compiler.core.CompilationWrapper.run(CompilationWrapper.java:230)
              at jdk.graal.compiler/jdk.graal.compiler.hotspot.CompilationTask.runCompilation(CompilationTask.java:428)
              at jdk.graal.compiler/jdk.graal.compiler.hotspot.CompilationTask.runCompilation(CompilationTask.java:395)
              at jdk.graal.compiler/jdk.graal.compiler.hotspot.HotSpotGraalCompiler.compileMethod(HotSpotGraalCompiler.java:156)
              at jdk.graal.compiler/jdk.graal.compiler.hotspot.HotSpotGraalCompiler.compileMethod(HotSpotGraalCompiler.java:763)
              at jdk.graal.compiler/jdk.graal.compiler.hotspot.HotSpotGraalCompiler.compileMethod(HotSpotGraalCompiler.java:107)
              at jdk.internal.vm.ci@24-ea/jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.compileMethod(HotSpotJVMCIRuntime.java:966)
      Caused by: java.lang.InternalError: unexpected problem occurred while encoding an exception to translate it from the JVM heap: java.lang.InternalError
              <<no stack trace available>>

              at java.base@24-ea/jdk.internal.vm.VMSupport.decodeAndThrowThrowable(VMSupport.java:142)
              at jdk.internal.vm.ci@24-ea/jdk.vm.ci.hotspot.CompilerToVM.lookupConstantInPool(Native Method)
              at jdk.internal.vm.ci@24-ea/jdk.vm.ci.hotspot.CompilerToVM.lookupConstantInPool(CompilerToVM.java:317)
              at jdk.internal.vm.ci@24-ea/jdk.vm.ci.hotspot.HotSpotConstantPool.lookupConstant(HotSpotConstantPool.java:671)
              at jdk.graal.compiler/jdk.graal.compiler.java.BytecodeParser.lookupConstant(BytecodeParser.java:4695)
              at jdk.graal.compiler/jdk.graal.compiler.hotspot.HotSpotBytecodeParser.lookupConstant(HotSpotBytecodeParser.java:53)
              at jdk.graal.compiler/jdk.graal.compiler.java.BytecodeParser.genLoadConstant(BytecodeParser.java:4289)
              at jdk.graal.compiler/jdk.graal.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:5622)
              at jdk.graal.compiler/jdk.graal.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3745)

            dnsimon Douglas Simon
            yzheng Yudi Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: