JDK-8302681 : [IR Framework] Only allow cpuFeatures from a verified list
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-02-16
  • Updated: 2023-03-02
  • Resolved: 2023-02-27
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 21
21 b12Fixed
Related Reports
Relates :  
Relates :  
Description
Wrongly typed cpuFeatures can lead to an IR rule being ignored.
https://github.com/openjdk/jdk/pull/12601
JDK-8302668

We should have a list of verified cpuFeatures, and assert if one is used that is not in that list. That way, typos and bad copies can be avoided, and we make sure the tests run when intended.
Comments
Changeset: 1794f497 Author: Emanuel Peter <epeter@openjdk.org> Date: 2023-02-27 07:12:18 +0000 URL: https://git.openjdk.org/jdk/commit/1794f4975147e1623763ed3ba029c9171e91d70c
27-02-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/12669 Date: 2023-02-20 15:11:21 +0000
20-02-2023