6893701: compiler/6877254/Test.java fails because it combines -XX:+UseConcMarkSweepGC with other GC
Summary: Remove explicit GC flags in regression tests
Reviewed-by: never, ysr
--- a/hotspot/test/compiler/6877254/Test.java Tue Jan 19 10:25:54 2010 -0800
+++ b/hotspot/test/compiler/6877254/Test.java Tue Jan 19 15:54:42 2010 -0800
@@ -26,7 +26,7 @@
* @bug 6877254
* @summary Implement StoreCMNode::Ideal to promote its OopStore above the MergeMem
*
- * @run main/othervm -server -Xcomp -XX:+UseConcMarkSweepGC Test
+ * @run main/othervm -Xcomp Test
*/
public class Test {
--- a/hotspot/test/compiler/6896727/Test.java Tue Jan 19 10:25:54 2010 -0800
+++ b/hotspot/test/compiler/6896727/Test.java Tue Jan 19 15:54:42 2010 -0800
@@ -26,7 +26,7 @@
* @test
* @bug 6896727
* @summary nsk/logging/LoggingPermission/LoggingPermission/logperm002 fails with G1, EscapeAnalisys w/o COOPs
- * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:+DoEscapeAnalysis -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC Test
+ * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:+DoEscapeAnalysis Test
*/
public class Test {