United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6893701 compiler/6877254/Test.java fails because it combines -XX:+UseConcMarkSweepGC with other GC
6893701 : compiler/6877254/Test.java fails because it combines -XX:+UseConcMarkSweepGC with other GC

Details
Type:
Bug
Submit Date:
2009-10-21
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs17

Related Reports
Backport:
Backport:

Sub Tasks

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

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

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



Hardware and Software, Engineered to Work Together