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

[AOT] Failed compilations while AOT'ing jdk.internal.vm.compiler

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 11, 14, 15
    • Fix Version/s: tbd
    • Component/s: hotspot

      Description

      AOT compilation of jdk.internal.vm.compiler module hits lots of AssertionError:

      [2019-11-25T02:53:40,935Z] 3442 classes found (1857 ms)
      [2019-11-25T02:53:45,220Z] 22572 methods total, 20343 methods to compile (4223 ms)
      [2019-11-25T02:53:45,491Z] Compiling with 8 threads
      [2019-11-25T02:53:59,588Z] ..Error: Failed compilation: org.graalvm.compiler.hotspot.replacements.Log.println(F)V: org.graalvm.compiler.java.BytecodeParser$BytecodeParserError: java.lang.AssertionError: @NodeIntrinsic method Log.log must only be called from within a replacement
      [2019-11-25T02:53:59,588Z] org.graalvm.compiler.hotspot.replacements.Log.println(Log.java:183) [bci: 6, intrinsic: false]
      [2019-11-25T02:53:59,588Z] 6: invokestatic #21 // log:(org.graalvm.compiler.core.common.spi.ForeignCallDescriptor, java.lang.Object, boolean, boolean)void
      [2019-11-25T02:53:59,588Z] 9: return
      [2019-11-25T02:53:59,588Z]
      [2019-11-25T02:53:59,588Z] org.graalvm.compiler.hotspot.replacements.Log.println(Log.java:160) [bci: 9, intrinsic: false]
      [2019-11-25T02:53:59,588Z] 9: invokestatic #22 // println:(java.lang.String)void
      [2019-11-25T02:53:59,588Z] 12: goto 63
      [2019-11-25T02:53:59,588Z] 15: fload_0
      [2019-11-25T02:53:59,588Z] 16: ldc #67 // Infinity
      [2019-11-25T02:53:59,588Z] 18: fcmpl
      [2019-11-25T02:53:59,588Z] 19: ifne 30
      [2019-11-25T02:53:59,588Z]
      [2019-11-25T02:53:59,588Z] at parsing org.graalvm.compiler.hotspot.replacements.Log.println(Log.java:183)
      [2019-11-25T02:53:59,588Z] at parsing org.graalvm.compiler.hotspot.replacements.Log.println(Log.java:160)
      [2019-11-25T02:53:59,595Z] Error: Failed compilation: org.graalvm.compiler.hotspot.replacements.Log.println(Z)V:

        Attachments

          Activity

            People

            • Assignee:
              kvn Vladimir Kozlov
              Reporter:
              iignatyev Igor Ignatyev
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: