JDK-8242502 : UnexpectedDeoptimizationTest.java failed "assert(phase->type(obj)->isa_oopptr()) failed: only for oop input"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 15
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2020-04-10
  • Updated: 2020-08-04
  • Resolved: 2020-04-30
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 15
15 b22Fixed
Related Reports
Relates :  
Description
The following test failed in the JDK15 CI:

compiler/codecache/stress/UnexpectedDeoptimizationTest.java

Here's a snippet from the log file:

----------System.out:(23/1628)----------
CompileCommand: dontinline compiler/codecache/stress/Helper$TestCase.method
For random generator using seed: -2972034434498239165
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-2972034434498239165" to command line.
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/subtypenode.cpp:137
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/scratch/mesos/slaves/a6efd25a-e066-4559-9516-837618a35e9e-S434/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/0ee9e9f8-f89a-41de-bc5b-ff370521286d/runs/9af24eba-c166-4ec8-bb5d-fc3eea491f7e/workspace/open/src/hotspot/share/opto/subtypenode.cpp:137), pid=26072, tid=25091
#  assert(phase->type(obj)->isa_oopptr()) failed: only for oop input
#
# JRE version: Java(TM) SE Runtime Environment (15.0+19) (fastdebug build 15-ea+19-786)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 15-ea+19-786, mixed mode, tiered, z gc, bsd-amd64)
# Core dump will be written. Default location: core.26072
#
Unsupported internal testing APIs have been used.

# An error report file with more information is saved as:
# /scratch/mesos/slaves/a6efd25a-e066-4559-9516-837618a35e9e-S414/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a87df5a9-e1c4-4000-a1a5-914fb14261ad/runs/bea6b660-15b8-46c9-b677-500b57d11b57/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_compiler_all_gcs/scratch/0/hs_err_pid26072.log
[thread 36355 also had an error]

------ Timeout during error reporting after 120 s. ------
# [ timer expired, abort... ]
----------System.err:(0/0)----------
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/f11d64213575 User: roland Date: 2020-04-30 10:07:01 +0000
30-04-2020

This crash issue seems very intermittent. Yet not able to reproduce the crash with repeat test run. Hi [~roland], request your help to check this issue. Can this crash failure be related to recent JDK-8241041 (the reported assert was introduced in same fix changeset - jdk-15+18-739 build onwards).
13-04-2020

Bumping from P4 -> P3. This failure has happened in six Tier6 CI job sets in a row. One job set had two failures.
11-04-2020

This test failure first showed up in the JDK15 CI in jdk-15+19-786-tier6 and it happened again in jdk-15+19-787-tier6. Unfortunately, there are 72 changesets in jdk-15+19-786-tier6.
10-04-2020