< prev index next >

test/com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java

Print this page

        

*** 60,70 **** } ProcessBuilder pb = ProcessTools. createJavaProcessBuilder( "-XX:+UseConcMarkSweepGC", // this will cause UseParNewGC to be FLAG_SET_ERGO ! "-XX:+PrintGCDetails", "-XX:+UseCerealGC", // Should be ignored. "-XX:Flags=" + flagsFile.getAbsolutePath(), "-cp", System.getProperty("test.class.path"), "CheckOrigin", "-runtests"); --- 60,70 ---- } ProcessBuilder pb = ProcessTools. createJavaProcessBuilder( "-XX:+UseConcMarkSweepGC", // this will cause UseParNewGC to be FLAG_SET_ERGO ! "-XX:+UseCodeAging", "-XX:+UseCerealGC", // Should be ignored. "-XX:Flags=" + flagsFile.getAbsolutePath(), "-cp", System.getProperty("test.class.path"), "CheckOrigin", "-runtests");
*** 95,105 **** // check the origin field for all the options we set // Not set, so should be default checkOrigin("ManagementServer", Origin.DEFAULT); // Set on the command line ! checkOrigin("PrintGCDetails", Origin.VM_CREATION); // Set in _JAVA_OPTIONS checkOrigin("TraceExceptions", Origin.ENVIRON_VAR); // Set in JAVA_TOOL_OPTIONS checkOrigin("IgnoreUnrecognizedVMOptions", Origin.ENVIRON_VAR); checkOrigin("PrintVMOptions", Origin.ENVIRON_VAR); --- 95,105 ---- // check the origin field for all the options we set // Not set, so should be default checkOrigin("ManagementServer", Origin.DEFAULT); // Set on the command line ! checkOrigin("UseCodeAging", Origin.VM_CREATION); // Set in _JAVA_OPTIONS checkOrigin("TraceExceptions", Origin.ENVIRON_VAR); // Set in JAVA_TOOL_OPTIONS checkOrigin("IgnoreUnrecognizedVMOptions", Origin.ENVIRON_VAR); checkOrigin("PrintVMOptions", Origin.ENVIRON_VAR);
< prev index next >