JDK-8273335 : compiler/blackhole tests should not run with interpreter-only VMs
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17,18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-09-03
  • Updated: 2021-10-04
  • Resolved: 2021-09-06
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.2Fixed 18 b14Fixed
Related Reports
Relates :  
Relates :  
Description
This affects Zero, as it runs these tests expecting CompilerCommands to work. Which are obviously missing since there are no compilers configured. Since JDK-8255718, Zero knows it runs in interpreter-only mode, so we can just leverage that.
Comments
Fix Request (17u) Improves testing reliability. Applies cleanly. Tests pass on Server, now skipped on Zero.
01-10-2021

Changeset: 4d25e6f6 Author: Aleksey Shipilev <shade@openjdk.org> Date: 2021-09-06 08:08:05 +0000 URL: https://git.openjdk.java.net/jdk/commit/4d25e6f6c7ee855771ab9c05ae85a9d92c866941
06-09-2021