JDK-8023900 : [TESTBUG] Initial compact profile test groups need adjusting
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs25
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-08-28
  • Updated: 2014-06-26
  • Resolved: 2013-08-29
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 8 Other
8Fixed hs25Fixed
Related Reports
Relates :  
Description
The initial groups defined under 8006164 didn't quite aggregate the primary groups in the right way. The following changes are needed:

diff -r 7aa0c1fb6fdb test/TEST.groups
--- a/test/TEST.groups
+++ b/test/TEST.groups
@@ -131,6 +131,7 @@
 # Compact 2 adds full VM tests
 compact2 = \
   :compact2_minimal \
+  :compact1 \
   :needs_full_vm_compact2 \
  -:needs_compact3 \
  -:needs_jre \
@@ -165,6 +166,7 @@
 compact2_minimal = \
   :compact1_minimal \
   :needs_compact2 \
+ -:needs_full_vm_compact2 \
  -:needs_compact3 \
  -:needs_jre \
  -:needs_jdk

Because of the minimal groups there is a fork in dependency tree - so compact2 has to combine with compact1 to ensure it picks up the compact1 tests that require a full VM. And compact2_minimal has to explicitly exclude needs_full_vm_compact2 otherwise it can pull in full VM tests from the needs_compact2 group.