JDK-8271471 : [IR Framework] Rare occurrence of "" in PrintIdeal/PrintOptoAssembly can let tests fail
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17,18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-07-29
  • Updated: 2022-12-27
  • Resolved: 2021-08-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 17 JDK 18
17.0.7-oracleFixed 18 b11Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
The VM sometimes prints "<!-- safepoint while printing -->" in the middle of emitting the PrintIdeal or PrintOptoAssembly output which could lead to test failures.

This is rare but was already observed twice so far. Once in the converted Valhalla tests and once while running the framework internal TestIRMatching.java test.
Comments
Fix request [17u] I backport this for parity with 17.0.7-oracle. No risk, only a test change. Clean backport. Tests pass. SAP nightly testing passed.
23-12-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/969 Date: 2022-12-22 13:05:00 +0000
22-12-2022

Changeset: 36777345 Author: Christian Hagedorn <chagedorn@openjdk.org> Date: 2021-08-16 14:51:11 +0000 URL: https://git.openjdk.java.net/jdk/commit/3677734584859e1b4bea65f6719e839f949c9236
16-08-2021

ILW = Intermittent test failures due to interfering output by VM, rare, no workaround = MLH = P4
29-07-2021