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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 9, 10
    • hotspot
    • b21

      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.

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

              Created:
              Updated:
              Resolved: