-
Enhancement
-
Resolution: Fixed
-
P4
-
9, 10
-
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.
# 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.