< prev index next >

test/lib/testlibrary/jdk/testlibrary/Utils.java

Print this page
rev 10787 : [mq]: incgc

*** 126,137 **** * GC specified by the framework must first be removed. * @return A copy of given opts with all GC options removed. */ private static final Pattern useGcPattern = Pattern.compile( "(?:\\-XX\\:[\\+\\-]Use.+GC)" ! + "|(?:\\-Xconcgc)" ! + "|(?:\\-Xincgc)"); public static List<String> removeGcOpts(List<String> opts) { List<String> optsWithoutGC = new ArrayList<String>(); for (String opt : opts) { if (useGcPattern.matcher(opt).matches()) { System.out.println("removeGcOpts: removed " + opt); --- 126,136 ---- * GC specified by the framework must first be removed. * @return A copy of given opts with all GC options removed. */ private static final Pattern useGcPattern = Pattern.compile( "(?:\\-XX\\:[\\+\\-]Use.+GC)" ! + "|(?:\\-Xconcgc)"); public static List<String> removeGcOpts(List<String> opts) { List<String> optsWithoutGC = new ArrayList<String>(); for (String opt : opts) { if (useGcPattern.matcher(opt).matches()) { System.out.println("removeGcOpts: removed " + opt);
< prev index next >