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

AOT need to process new markId DEOPT_MH_HANDLER_ENTRY in compiled code

    Details

    • Subcomponent:
    • Resolved In Build:
      b14

      Description

      JDK-8252058 enable new MarkID DEOPT_MH_HANDLER_ENTRY but AOT was not updated to handle it as result AOT compilation fails:

      $ jaotc --info -J-Xmx4g --output libjava.base.so --module java.base
      Compiling libjava.base.so...
      6194 classes found (2063 ms)
      56725 methods total, 52893 methods to compile (2862 ms)
      Compiling with 16 threads
      .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
      52893 methods compiled, 0 methods failed (157487 ms)
      Parsing compiled code (1501 ms)
      Processing metadata (663 ms)
      Exception in thread "main" java.lang.InternalError: Unexpected mark found: HotSpotCodeMark{DEOPT_MH_HANDLER_ENTRY, value=25, optional=false}@6003
      at jdk.aot@16-internal/jdk.tools.jaotc.MarkProcessor.process(MarkProcessor.java:117)
      at jdk.aot@16-internal/jdk.tools.jaotc.MetadataBuilder.processInfopointsAndMarks(MetadataBuilder.java:240)
      at jdk.aot@16-internal/jdk.tools.jaotc.MetadataBuilder.processMetadataClass(MetadataBuilder.java:71)
      at jdk.aot@16-internal/jdk.tools.jaotc.MetadataBuilder.processMetadata(MetadataBuilder.java:65)
      at jdk.aot@16-internal/jdk.tools.jaotc.DataBuilder.prepareData(DataBuilder.java:162)
      at jdk.aot@16-internal/jdk.tools.jaotc.Main.run(Main.java:242)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: