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

[JVMCI] value not an s2: -32776

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • hotspot

      Exception raised in scope TruffleCompilerThread-41.Truffle.CodeInstall: jdk.vm.ci.common.JVMCIError: decode_scan<std::io::cursor::Cursor<&[u8]>><OSR@2384239>#2[offset=18633]: value not an s2: -32776
          at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotCompiledCodeStream.error(HotSpotCompiledCodeStream.java:301)
          at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotCompiledCodeStream.writeS2(HotSpotCompiledCodeStream.java:462)
          at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotCompiledCodeStream.writeJavaValue(HotSpotCompiledCodeStream.java:1076)
          at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotCompiledCodeStream.writeVirtualObjects(HotSpotCompiledCodeStream.java:1000)
          at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotCompiledCodeStream.writeDebugInfo(HotSpotCompiledCodeStream.java:972)
          at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotCompiledCodeStream.writeSites(HotSpotCompiledCodeStream.java:747)
          at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotCompiledCodeStream.<init>(HotSpotCompiledCodeStream.java:592)
          at jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVM.installCode(CompilerToVM.java:633)
          at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotCodeCacheProvider.installCode(HotSpotCodeCacheProvider.java:139)
          at jdk.graal.compiler/jdk.graal.compiler.core.target.Backend.createInstalledCode(Backend.java:207)
          at jdk.graal.compiler/jdk.graal.compiler.core.target.Backend.createInstalledCode(Backend.java:160)
          at jdk.graal.compiler/jdk.graal.compiler.truffle.TruffleCompilerImpl.compilePEGraph(TruffleCompilerImpl.java:649)
          at jdk.graal.compiler/jdk.graal.compiler.truffle.TruffleCompilerImpl.compileAST(TruffleCompilerImpl.java:512)
          at jdk.graal.compiler/jdk.graal.compiler.truffle.TruffleCompilerImpl$TruffleCompilationWrapper.performCompilation(TruffleCompilerImpl.java:781)
          at jdk.graal.compiler/jdk.graal.compiler.truffle.TruffleCompilerImpl$TruffleCompilationWrapper.performCompilation(TruffleCompilerImpl.java:695)
          at jdk.graal.compiler/jdk.graal.compiler.core.CompilationWrapper.run(CompilationWrapper.java:233)
          at jdk.graal.compiler/jdk.graal.compiler.truffle.TruffleCompilerImpl.doCompile(TruffleCompilerImpl.java:237)
          at jdk.graal.compiler/jdk.graal.compiler.truffle.TruffleCompilerImpl.doCompile(TruffleCompilerImpl.java:204)
          at org.graalvm.truffle.runtime/com.oracle.truffle.runtime.OptimizedTruffleRuntime.compileImpl(OptimizedTruffleRuntime.java:883)
          at org.graalvm.truffle.runtime/com.oracle.truffle.runtime.OptimizedTruffleRuntime.doCompile(OptimizedTruffleRuntime.java:866)
          at org.graalvm.truffle.runtime/com.oracle.truffle.runtime.CompilationTask$1.accept(CompilationTask.java:65)
          at org.graalvm.truffle.runtime/com.oracle.truffle.runtime.CompilationTask$1.accept(CompilationTask.java:59)
          at org.graalvm.truffle.runtime/com.oracle.truffle.runtime.CompilationTask.call(CompilationTask.java:245)
          at org.graalvm.truffle.runtime/com.oracle.truffle.runtime.CompilationTask.call(CompilationTask.java:57)
          at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
          at java.base/java.lang.Thread.run(Thread.java:1447)
          at org.graalvm.truffle.runtime/com.oracle.truffle.runtime.BackgroundCompileQueue$TruffleCompilerThreadFactory$1.run(BackgroundCompileQueue.java:304)

      HotSpotCompiledCodeStream should handle StackSlot values with an offset greater than a short.

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

              Created:
              Updated: