JDK-8355088 : Crash at Assembler::prefixq_and_encode(int, bool)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • OS: linux
  • CPU: x86_64
  • Submitted: 2025-04-21
  • Updated: 2025-04-22
Description
Test compiler/startup/StartupOutput.java trigger jvm crash: Assembler::prefixq_and_encode(int, bool)

The test log snippet:

STDERR:
 stdout: [[0.231s][warning][codecache] CodeCache is full. Compiler has been disabled.
[0.232s][warning][codecache] Try increasing the code cache size using -XX:ReservedCodeCacheSize=
CodeCache: size=1268Kb used=1120Kb max_used=1158Kb free=147Kb
 bounds [0x00007f3df83d1000, 0x00007f3df850e000, 0x00007f3df850e000]
 total_blobs=567, nmethods=0, adapters=540, full_count=1
Compilation: disabled (not enough contiguous free space left), stopped_count=1, restarted_count=0
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f3df8ebcd34, pid=508884, tid=509748
#
# JRE version: OpenJDK Runtime Environment (25.0) (fastdebug build 25-internal-128f2d1c)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 25-internal-128f2d1c, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x6f8d34]  Assembler::prefixq_and_encode(int, bool) [clone .constprop.0]+0x34
#
# Core dump will be written. Default location: /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/compiler/startup/StartupOutput/core.508884
#
# An error report file with more information is saved as:
# /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/compiler/startup/StartupOutput/hs_err_pid508884.log
Comments
Failure probability about: 20/1k
22-04-2025