RFR: 8338112: Test testlibrary_tests/ir_framework/tests/TestPrivilegedMode.java fails with release build [v2]

SendaoYan syan at openjdk.org
Fri Aug 9 14:20:02 UTC 2024


> Hi all,
>  The testcase `testlibrary_tests/ir_framework/tests/TestPrivilegedMode.java` fails with release build, the test log snippet says `IR verification disabled due to not running a debug build`. So I think it's need `@requires vm.debug == true`.
> 
> The change has been verified with linux x64 release build and linux x64 fastdebug build, no risk,

SendaoYan has updated the pull request incrementally with one additional commit since the last revision:

  since this test also fails when have a debug build without compilers, so change requires to `* @requires vm.debug == true & vm.compMode != "Xint" & vm.compiler2.enabled & vm.flagless`

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/20524/files
  - new: https://git.openjdk.org/jdk/pull/20524/files/8bcf5c41..537a9d1f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20524&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20524&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/20524.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20524/head:pull/20524

PR: https://git.openjdk.org/jdk/pull/20524


More information about the hotspot-compiler-dev mailing list