JDK-8235773 : Tier3 fails because graalunit tests started to run with ZGC
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:14
Priority:P1
Status:Resolved
Resolution:Fixed
Submitted:2019-12-11
Updated:2019-12-19
Resolved:2019-12-12
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.
graalunit tests are part of hotspot_compiler_all_gcs jtreg group.
The tests didn't run before because they had
@requires vm.opt.final.EnableJVMCI == true
With JDK-8215728 this check was deleted as we don't rely on extra EnableJVMCI flag but set it explicitly in tests.
Not all GCs support JVMCI compiler and in particular ZGC. The fix is to remove graaalunit tests from hotspot_compiler_all_gcs similar way it is done for aot_jvmci tests.
diff -r 71674e727f6c test/hotspot/jtreg/TEST.groups
--- a/test/hotspot/jtreg/TEST.groups Tue Dec 10 21:49:07 2019 -0800
+++ b/test/hotspot/jtreg/TEST.groups Wed Dec 11 08:48:05 2019 -0800
@@ -37,7 +37,8 @@
hotspot_compiler_all_gcs = \
:hotspot_compiler \
- -:tier1_compiler_aot_jvmci
+ -:tier1_compiler_aot_jvmci \
+ -compiler/graalunit