-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
24
The recently (JDK-8337876) added TestPrivilegedMode.java IR framework test fails when run in a non-debug build.
We see the following messages in the log:
"IR verification disabled due to not running a debug build (required for PrintIdealand PrintOptoAssembly), running with -Xint, or -Xcomp (use warm-up of 0 instead) Skip Flag VM due to not performing IR verification."
"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.)."
The test already specifies it requires `vm.flagless` (which covers many of the potential issues mentioned in those messages). However, it does not specify it requires `vm.debug == true`. Other similar tests also specify they require `vm.compiler2.enabled`, which seems like it would be needed here too.
We see the following messages in the log:
"IR verification disabled due to not running a debug build (required for PrintIdealand PrintOptoAssembly), running with -Xint, or -Xcomp (use warm-up of 0 instead) Skip Flag VM due to not performing IR verification."
"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.)."
The test already specifies it requires `vm.flagless` (which covers many of the potential issues mentioned in those messages). However, it does not specify it requires `vm.debug == true`. Other similar tests also specify they require `vm.compiler2.enabled`, which seems like it would be needed here too.
- duplicates
-
JDK-8338112 Test testlibrary_tests/ir_framework/tests/TestPrivilegedMode.java fails with release build
- Resolved