test/runtime/logging/VMOperationTest.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8146435 Cdiff test/runtime/logging/VMOperationTest.java

test/runtime/logging/VMOperationTest.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 37,47 **** import jdk.test.lib.ProcessTools; public class VMOperationTest { public static void main(String[] args) throws Exception { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( ! "-Xlog:vmoperation=debug", "-Xmx64m", "-Xms64m", InternalClass.class.getName()); OutputAnalyzer output = new OutputAnalyzer(pb.start()); output.shouldContain("VM_Operation ("); output.shouldHaveExitValue(0); } --- 37,47 ---- import jdk.test.lib.ProcessTools; public class VMOperationTest { public static void main(String[] args) throws Exception { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( ! "-Xlog:vmoperation=debug", "-Xshare:off", "-Xmx64m", "-Xms64m", InternalClass.class.getName()); OutputAnalyzer output = new OutputAnalyzer(pb.start()); output.shouldContain("VM_Operation ("); output.shouldHaveExitValue(0); }
test/runtime/logging/VMOperationTest.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File