< prev index next >

test/serviceability/logging/TestLogRotation.java

Print this page

        

*** 73,83 **** public static void runTest(int numberOfFiles) throws Exception { ArrayList<String> args = new ArrayList(); String[] logOpts = new String[]{ "-cp", System.getProperty("java.class.path"), ! "-Xlog:gc=debug:" + logFileName + "::filesize=" + logFileSizeK + ",filecount=" + numberOfFiles, "-XX:-DisableExplicitGC", // to ensure that System.gc() works "-Xmx128M"}; // System.getProperty("test.java.opts") is '' if no options is set // need to skip such empty String[] externalVMopts = System.getProperty("test.java.opts").length() == 0 --- 73,83 ---- public static void runTest(int numberOfFiles) throws Exception { ArrayList<String> args = new ArrayList(); String[] logOpts = new String[]{ "-cp", System.getProperty("java.class.path"), ! "-Xlog:gc=debug:" + logFileName + "::filesize=" + logFileSizeK + "k,filecount=" + numberOfFiles, "-XX:-DisableExplicitGC", // to ensure that System.gc() works "-Xmx128M"}; // System.getProperty("test.java.opts") is '' if no options is set // need to skip such empty String[] externalVMopts = System.getProperty("test.java.opts").length() == 0
< prev index next >