JDK-8273659 : Replay compilation crashes with SIGSEGV since 8271911
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 18
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-09-13
  • Updated: 2021-09-28
  • Resolved: 2021-09-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 18
18 b16Fixed
Related Reports
Relates :  
Description
I noticed replay fails when it encounters classes that it can't resolve and when running with -XX:+ReplayIgnoreInitErrors:

#  SIGSEGV (0xb) at pc=0x00007fc72b691f1b, pid=305274, tid=305275
#
# JRE version: OpenJDK Runtime Environment (18.0) (fastdebug build 18-internal+0-adhoc.roland.jdk-jdk)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 18-internal+0-adhoc.roland.jdk-jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x940f1b]  CompileReplay::parse_cp_ref(JavaThread*)+0x2eb

Comments
Changeset: 59b2478a Author: Roland Westrelin <roland@openjdk.org> Date: 2021-09-16 12:02:46 +0000 URL: https://git.openjdk.java.net/jdk/commit/59b2478abd7f233531262b0fa190e027a785da79
16-09-2021

ILW = crash in debug build during replay = MMH = P3
13-09-2021