JDK-8272705 : Allow modification of whitelist via command line
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 18
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-08-19
  • Updated: 2023-11-20
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
For debugging purposes and also for specific test groups (e.g. vector tests run in CI with UseAVX etc.), executing IR verification with non-whitelisted flags would be useful. Currently, that does not work:

IR verification disabled either due to no @IR annotations, through explicitly setting -DVerify=false, due to not running a debug build, using a non-whitelisted JTreg VM or Javaopts flag like -Xint, or running the test VM with other VM flags added by user code that make the IR verification impossible (e.g. -XX:-UseCompile, -XX:TieredStopAtLevel=[1,2,3], etc.).

Above message also contains a typo: "UseCompile" -> "UseCompiler".

Comments
Allow modification of whitelist via command line . Expectation again is this can be completed in ~ 1 week of timeframe
02-02-2022

For example, a -DAddToWhiteList option could be added where -DAddToWhiteList="" would match all flags.
19-08-2021