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

Replay compilation should ignore unresolved Klass with -XX:+ReplayIgnoreInitErrors

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      Replay compilation currently crashes if a Klass referenced in ciMethodData cannot be resolved:

      # SIGSEGV (0xb) at pc=0x00007f423b638433, pid=11089, tid=11106
      #
      # JRE version: Java(TM) SE Runtime Environment (10.0) (fastdebug build 10-internal+0-adhoc.tohartma.8181644)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 10-internal+0-adhoc.tohartma.8181644, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x96c433] ciReplay::initialize(ciMethodData*)+0x4e3

      However, in many cases it's not necessary to resolve the class for replay compilation to succeed. We should be more conservative if -XX:+ReplayIgnoreInitErrors is set.

        Attachments

          Activity

            People

            Assignee:
            thartmann Tobias Hartmann
            Reporter:
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: