/openjdk10/hotspot/test/gc/arguments/ |
H A D | TestDisableDefaultGC.java | 47 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 48 output.shouldMatch("Garbage collector not selected"); 49 output.shouldHaveExitValue(1);
|
H A D | TestSelectDefaultGC.java | 43 public static void assertVMOption(OutputAnalyzer output, String option, boolean value) { argument 44 output.shouldMatch(" " + option + " .*=.* " + value + " "); 57 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 58 output.shouldHaveExitValue(0); 64 assertVMOption(output, "UseG1GC", isServer); 66 assertVMOption(output, "UseSerialGC", !isServer); 68 assertVMOption(output, "UseConcMarkSweepGC", false);
|
/openjdk10/hotspot/test/runtime/CommandLine/ |
H A D | FlagWithInvalidValue.java | 41 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 42 output.shouldContain("Improperly specified VM option 'MaxRAMPercentage=v'"); 43 output.shouldHaveExitValue(1);
|
H A D | TestHexArguments.java | 43 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 44 output.shouldNotContain("Could not create the Java Virtual Machine"); 45 output.shouldHaveExitValue(0); 49 output = new OutputAnalyzer(pb.start()); 50 output.shouldContain("Could not create the Java Virtual Machine");
|
/openjdk10/hotspot/test/serviceability/logging/ |
H A D | TestDefaultLogOutput.java | 38 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 39 output.stdoutShouldMatch("\\[error *\\]\\[logging *\\]"); 40 output.shouldHaveExitValue(1);
|
/openjdk10/jdk/test/native_sanity/simplenativelauncher/ |
H A D | ProgramTest.java | 39 OutputAnalyzer output = ProcessTools.executeProcess(pb); 40 output.shouldHaveExitValue(0); 41 output.stdoutShouldContain("Hello");
|
/openjdk10/hotspot/src/share/vm/c1/ |
H A D | c1_CFGPrinter.cpp | 37 CFGPrinterOutput* output = compilation->cfg_printer_output(); local 38 output->print_compilation(); 42 CFGPrinterOutput* output = Compilation::current()->cfg_printer_output(); local 43 output->set_print_flags(do_print_HIR, do_print_LIR); 44 output->print_cfg(blocks, name); 48 CFGPrinterOutput* output = Compilation::current()->cfg_printer_output(); local 49 output->set_print_flags(do_print_HIR, do_print_LIR); 50 output->print_cfg(blocks, name); 54 CFGPrinterOutput* output = Compilation::current()->cfg_printer_output(); local 55 output [all...] |
/openjdk10/hotspot/test/runtime/NMT/ |
H A D | SummaryAfterShutdown.java | 41 OutputAnalyzer output; 48 output = new OutputAnalyzer(pb.start()); 51 output.shouldContain("Native memory tracking has been turned off"); 55 output = new OutputAnalyzer(pb.start()); 58 output.shouldContain("Native memory tracking has been shutdown");
|
H A D | ShutdownTwice.java | 43 OutputAnalyzer output; 49 output = new OutputAnalyzer(pb.start()); 52 output.shouldContain("Native memory tracking has been turned off"); 55 output = new OutputAnalyzer(pb.start()); 58 output.shouldContain("Native memory tracking has been shutdown");
|
H A D | JcmdDetailDiff.java | 26 * @summary run NMT baseline, allocate memory and verify output from detail.diff 48 OutputAnalyzer output; 60 output = new OutputAnalyzer(pb.start()); 61 output.shouldContain("Baseline succeeded"); 66 output = new OutputAnalyzer(pb.start()); 67 output.shouldContain("Test (reserved=256KB +256KB, committed=0KB)"); 72 output = new OutputAnalyzer(pb.start()); 73 output.shouldContain("Test (reserved=256KB +256KB, committed=128KB +128KB)"); 78 output = new OutputAnalyzer(pb.start()); 79 output [all...] |
H A D | JcmdSummaryDiff.java | 26 * @summary run NMT baseline, allocate memory and verify output from summary.diff 48 OutputAnalyzer output; 60 output = new OutputAnalyzer(pb.start()); 61 output.shouldContain("Baseline succeeded"); 66 output = new OutputAnalyzer(pb.start()); 67 output.shouldContain("Test (reserved=256KB +256KB, committed=0KB)"); 72 output = new OutputAnalyzer(pb.start()); 73 output.shouldContain("Test (reserved=256KB +256KB, committed=128KB +128KB)"); 78 output = new OutputAnalyzer(pb.start()); 79 output [all...] |
H A D | ThreadedVirtualAllocTestType.java | 48 OutputAnalyzer output; 62 output = new OutputAnalyzer(pb.start()); 63 output.shouldContain("Test (reserved=512KB, committed=0KB)"); 64 output.shouldMatch("\\[0x[0]*" + Long.toHexString(addr) + " - 0x[0]*" + Long.toHexString(addr + reserveSize) + "\\] reserved 512KB for Test"); 74 output = new OutputAnalyzer(pb.start()); 75 output.shouldContain("Test (reserved=512KB, committed=128KB)"); 76 output.shouldMatch("\\[0x[0]*" + Long.toHexString(addr) + " - 0x[0]*" + Long.toHexString(addr + commitSize) + "\\] committed 128KB"); 86 output = new OutputAnalyzer(pb.start()); 87 output.shouldContain("Test (reserved=512KB, committed=0KB)"); 88 output [all...] |
H A D | VirtualAllocCommitUncommitRecommit.java | 48 OutputAnalyzer output; 61 output = new OutputAnalyzer(pb.start()); 62 output.shouldContain("Test (reserved=4096KB, committed=0KB)"); 63 output.shouldMatch("\\[0x[0]*" + Long.toHexString(addr) + " - 0x[0]*" 80 output = new OutputAnalyzer(pb.start()); 81 output.shouldContain("Test (reserved=4096KB, committed=512KB)"); 83 output.shouldMatch("\\[0x[0]*" + Long.toHexString(addr) + " - 0x[0]*" 90 output = new OutputAnalyzer(pb.start()); 91 output.shouldContain("Test (reserved=4096KB, committed=256KB)"); 93 output [all...] |
/openjdk10/jdk/test/java/lang/instrument/PremainClass/ |
H A D | ZeroArgPremainAgentTest.java | 51 OutputAnalyzer output = ProcessTools.executeProcess(pb); 52 System.out.println("testjvm.stdout:" + output.getStdout()); 53 System.out.println("testjvm.stderr:" + output.getStderr()); 55 output.stderrShouldContain("java.lang.NoSuchMethodException"); 56 if (0 == output.getExitValue()) {
|
H A D | NoPremainAgentTest.java | 51 OutputAnalyzer output = ProcessTools.executeProcess(pb); 52 System.out.println("testjvm.stdout:" + output.getStdout()); 53 System.out.println("testjvm.stderr:" + output.getStderr()); 55 output.stderrShouldContain("java.lang.NoSuchMethodException"); 56 if (0 == output.getExitValue()) {
|
/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/ |
H A D | LinkOutputImpl.java | 31 * Stores output of a link. 43 * The output of the link. 45 public StringBuilder output; field in class:LinkOutputImpl 51 output = new StringBuilder(); 58 output.append(o instanceof String ? 66 output.insert(offset, o.toString()); 73 return output.toString();
|
/openjdk10/hotspot/test/runtime/SharedArchiveFile/ |
H A D | DumpSharedDictionary.java | 75 OutputAnalyzer output = CDSTestUtils.executeAndLog(pb, "jcmd-systemdictionary"); 77 output.shouldContain("Shared Dictionary statistics:"); 78 output.shouldContain("Number of buckets"); 79 output.shouldContain("Number of entries"); 80 output.shouldContain("Maximum bucket size"); 82 output.shouldContain("Unknown diagnostic command"); 86 output = CDSTestUtils.executeAndLog(pb, "jcmd-systemdictionary-verbose"); 88 output.shouldContain("Shared Dictionary"); 89 output.shouldContain("Dictionary for class loader 0x"); 90 output [all...] |
/openjdk10/hotspot/test/runtime/logging/ |
H A D | SafepointCleanupTest.java | 27 * @summary safepoint+cleanup=info should have output from the code 39 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 40 output.shouldContain("[safepoint,cleanup]"); 41 output.shouldContain("safepoint cleanup tasks"); 42 output.shouldContain("deflating idle monitors"); 43 output.shouldContain("updating inline caches"); 44 output.shouldContain("compilation policy safepoint handler"); 45 output.shouldContain("purging class loader data graph"); 46 output.shouldHaveExitValue(0); 50 OutputAnalyzer output [all...] |
H A D | StackWalkTest.java | 38 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 39 output.shouldContain("Start walking"); 40 output.shouldContain("fill_in_frames"); 41 output.shouldHaveExitValue(0); 45 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 46 output.shouldNotContain("[stackwalk]"); 47 output.shouldHaveExitValue(0);
|
/openjdk10/jdk/test/sun/tools/jcmd/ |
H A D | TestJcmdDefaults.java | 66 OutputAnalyzer output = JcmdBase.jcmdNoPid(VM_ARGS, jcmdArgs); 68 assertNotEquals(output.getExitValue(), 0); 69 verifyOutputAgainstFile(output); 77 OutputAnalyzer output = JcmdBase.jcmdNoPid(VM_ARGS, jcmdArgs); 79 output.shouldHaveExitValue(0); 80 output.shouldContain("sun.tools.jcmd.JCmd"); 81 matchListedProcesses(output); 87 * The output should look like: 91 * @param output The generated output fro 94 matchListedProcesses(OutputAnalyzer output) argument 100 verifyOutputAgainstFile(OutputAnalyzer output) argument [all...] |
/openjdk10/hotspot/test/runtime/modules/PatchModule/ |
H A D | PatchModuleTraceCL.java | 49 // Test -Xlog:class+load=info output for --patch-module 57 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 59 output.shouldContain("[class,load] java.lang.Thread source: jrt:/java.base"); 61 output.shouldContain("[class,load] javax.naming.spi.NamingManager source: mods/java.naming"); 63 output.shouldContain("[class,load] PatchModuleMain source: file"); 65 // Test -Xlog:class+load=info output for -Xbootclasspath/a 79 output = new OutputAnalyzer(pb.start()); 81 output.shouldContain("[class,load] PatchModuleTraceCL_pkg.ItIsI source: xbcp"); 82 output.shouldHaveExitValue(0);
|
/openjdk10/jdk/test/sun/management/jdp/ |
H A D | DynamicLauncher.java | 41 OutputAnalyzer output; field in class:DynamicLauncher 51 output = runVM(); 53 output.shouldNotContain("Port already in use"); 61 output.shouldHaveExitValue(0); 64 output.shouldNotContain("java.lang.Exception:"); 65 output.shouldNotContain("Error: Could not find or load main class"); 80 return output;
|
/openjdk10/hotspot/test/gc/g1/ |
H A D | TestStringDeduplicationTools.java | 202 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 203 System.err.println(output.getStderr()); 204 System.out.println(output.getStdout()); 205 return output; 333 OutputAnalyzer output = DeduplicationTest.run(LargeNumberOfStrings, 337 output.shouldNotContain("Full GC"); 338 output.shouldContain("Pause Young (G1 Evacuation Pause)"); 339 output.shouldContain("Concurrent String Deduplication"); 340 output.shouldContain("Deduplicated:"); 341 output [all...] |
/openjdk10/hotspot/test/gc/ |
H A D | TestVerifySilently.java | 59 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 61 System.out.println("Output:\n" + output.getOutput()); 62 return output; 68 OutputAnalyzer output; 70 output = runTest(false); 71 output.shouldContain("Verifying"); 72 output.shouldHaveExitValue(0); 74 output = runTest(true); 75 output.shouldNotContain("Verifying"); 76 output [all...] |
/openjdk10/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/ |
H A D | ObjectBrowser.java | 40 private TestOut output; field in class:ObjectBrowser 49 * Defines print output streams or writers. 51 * @param out Identify the streams or writers used for print output. 58 output = out; 62 * Returns print output streams or writers. 65 * output and err streams. 72 return output; 99 output.printLine(object.toString()); 107 output.printLine("Class: " + cl.getName()); 108 output [all...] |