JDK-8265105 : gc/arguments/TestSelectDefaultGC.java fails when compiler1 is disabled
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-04-13
  • Updated: 2021-08-05
  • Resolved: 2021-04-22
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 17
17 b20Fixed
Related Reports
Relates :  
Description
Created on behalf of Sun Guoyun <sunguoyun@loongson.cn>:

gc/arguments/TestSelectDefaultGC.java hit assert(verify_level(level)) failed: Invalid highest compilation level when using --with-jvm-features=-compiler1:

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/compilationPolicy.cpp:582
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/gysun/jdk-ls-x64/src/hotspot/share/compiler/compilationPolicy.cpp:582), pid=20304, tid=20305
#  assert(verify_level(level)) failed: Invalid highest compilation level: 1
#
# JRE version:  (17.0) (fastdebug build )
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 17-internal+0-adhoc.gysun.jdk-ls-x64, mixed mode, emulated-client, compressed oops, compressed class ptrs, serial gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x7e3dc0]  CompilationPolicy::highest_compile_level()+0xc0
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/gysun/jdk-ls-x64/JTwork/scratch/core.20304)
#
# An error report file with more information is saved as:
# /home/gysun/jdk-ls-x64/JTwork/scratch/hs_err_pid20304.log

Comments
Changeset: 31d8a19e Author: sunguoyun <sunguoyun@loongson.cn> Committer: Igor Veresov <iveresov@openjdk.org> Date: 2021-04-22 18:05:03 +0000 URL: https://git.openjdk.java.net/jdk/commit/31d8a19e
22-04-2021

ILW = Assert during compilation, build without C1, no workaround = HLH = P2
13-04-2021