JDK-6893701 : compiler/6877254/Test.java fails because it combines -XX:+UseConcMarkSweepGC with other GC
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: x86
  • Submitted: 2009-10-21
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
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 6 JDK 7 Other
6u21Fixed 7Fixed hs17Fixed
Description
Test 
compiler/6877254/Test.java
fails during promotion because it also uses option given by QA harness
and try to use -XX:+UseParallelOldGC and  -XX:+UseConcMarkSweepGC at one time.


Output:
=========================================================
#section:main
----------messages:(3/181)----------
command: main  -server -Xcomp -XX:+UseConcMarkSweepGCTest
reason: User specified action: run main/othervm -server -Xcomp -XX:+UseConcMarkSweepGC Test 
elapsed time (seconds): 0.142
----------System.out:(0/0)----------
----------System.err:(4/311)----------
Turning off use of shared archive because of choice of garbage collector or large pages 
Conflicting collector combinations in option list; please refer to the release notes for the combinations allowed
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
result: Failed. Unexpected exit from test [exit code: 1]


test result: Failed. Unexpected exit from test [exit code: 1]
Another test with explicit collector which needs to be fixed:

test/compiler/6896727/Test.java

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/648fe315b257
20-01-2010

EVALUATION Remove explicit GC flags from regression tests.
20-01-2010