/openjdk9/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("deflating idle monitors"); 42 output.shouldContain("updating inline caches"); 43 output.shouldContain("compilation policy safepoint handler"); 44 output.shouldContain("mark nmethods"); 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);
|
H A D | SafepointTest.java | 27 * @summary safepoint=trace should have output from each log statement in the code 42 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 43 output.shouldContain("Safepoint synchronization initiated. ("); 44 output.shouldContain("Entering safepoint region: "); 45 output.shouldContain("Leaving safepoint region"); 46 output.shouldContain("_at_poll_safepoint"); 47 output.shouldHaveExitValue(0);
|
H A D | BiasedLockingTest.java | 39 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 40 output.shouldContain("Biased locking enabled"); 41 output.shouldHaveExitValue(0); 45 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 46 output.shouldNotContain("[biasedlocking]"); 47 output.shouldHaveExitValue(0);
|
/openjdk9/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...] |
/openjdk9/hotspot/test/runtime/SharedArchiveFile/ |
H A D | SharedBaseAddress.java | 58 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 60 output.shouldContain("Loading classes to share"); 68 output = new OutputAnalyzer(pb.start()); 69 output.shouldContain("sharing"); 70 output.shouldHaveExitValue(0); 72 output.shouldContain("Unable to use shared archive"); 73 output.shouldHaveExitValue(1);
|
H A D | CdsDifferentCompactStrings.java | 56 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 57 output.shouldContain("Loading classes to share"); 58 output.shouldHaveExitValue(0); 67 output = new OutputAnalyzer(pb.start()); 69 output.shouldContain("The shared archive file's CompactStrings " + 72 output.shouldContain("Unable to use shared archive"); 74 output.shouldHaveExitValue(1);
|
H A D | SharedSymbolTableBucketSize.java | 44 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 45 output.shouldContain("Loading classes to share"); 46 output.shouldHaveExitValue(0); 48 String s = output.firstMatch("Average bucket size : .*"); 66 output = new OutputAnalyzer(pb.start()); 67 output.shouldContain("Improperly specified VM option");
|
H A D | DefaultUseWithClient.java | 56 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 57 output.shouldHaveExitValue(0); 66 output = new OutputAnalyzer(pb.start()); 68 output.shouldContain("sharing"); 72 output.shouldContain("UseSharedSpaces:"); 74 output.shouldHaveExitValue(0);
|
H A D | DumpSymbolAndStringTable.java | 45 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 47 output.shouldContain("24 2: DumpSymbolAndStringTable\n"); 49 output.shouldContain("Unknown diagnostic command"); 53 output = new OutputAnalyzer(pb.start()); 55 output.shouldContain("16: java.lang.String\n"); 57 output.shouldContain("Unknown diagnostic command");
|
/openjdk9/hotspot/test/runtime/modules/PatchModule/ |
H A D | PatchModuleTraceCL.java | 49 // Test -Xlog:classload=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:classload=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);
|
/openjdk9/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;
|
/openjdk9/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...] |
/openjdk9/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...] |
/openjdk9/hotspot/test/runtime/NMT/ |
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...] |
/openjdk9/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...] |
/openjdk9/jdk/test/java/net/httpclient/http2/jdk.incubator.httpclient/jdk/incubator/http/internal/hpack/ |
H A D | EncoderTest.java | 136 ByteBuffer output = ByteBuffer.allocate(64); 138 e.encode(output); 140 e.encode(output); 142 e.encode(output); 144 e.encode(output); 146 output.flip(); 149 test(e, output, 157 output.clear(); 160 e.encode(output); 162 e.encode(output); 623 test(Encoder encoder, ByteBuffer output, String expectedHexdump, String expectedTableState) argument [all...] |
/openjdk9/hotspot/test/serviceability/dcmd/gc/ |
H A D | ClassHistogramTest.java | 54 OutputAnalyzer output = executor.execute("GC.class_histogram " + classHistogramArgs); 57 * example output: 71 output.shouldMatch("^\\s+\\d+:\\s+\\d+\\s+\\d+\\s+java.lang.Class \\(java.base@\\S*\\)\\s*$"); 74 output.shouldMatch("^\\s+\\d+:\\s+\\d+\\s+\\d+\\s+java.lang.String \\(java.base@\\S*\\)\\s*$"); 77 output.shouldMatch("^\\s+\\d+:\\s+\\d+\\s+\\d+\\s+java.lang.Object \\(java.base@\\S*\\)\\s*$"); 80 output.shouldMatch("^\\s+\\d+:\\s+1\\s+\\d+\\s+" + 84 output.shouldMatch("^\\s+\\d+:\\s+1024\\s+\\d+\\s+" +
|
/openjdk9/hotspot/test/serviceability/jvmti/ |
H A D | GetObjectSizeOverflow.java | 61 OutputAnalyzer output = new OutputAnalyzer(pt.start()); 63 if (output.getStdout().contains("Could not reserve enough space") || output.getStderr().contains("java.lang.OutOfMemoryError")) { 64 System.out.println("stdout: " + output.getStdout()); 65 System.out.println("stderr: " + output.getStderr()); 70 output.stdoutShouldContain("GetObjectSizeOverflow passed");
|
/openjdk9/hotspot/test/runtime/CommandLine/ |
H A D | ConfigFileWarning.java | 42 OutputAnalyzer output; 49 output = new OutputAnalyzer(pb.start()); 50 output.shouldContain("Unrecognized VM option 'aaa'"); 51 output.shouldHaveExitValue(1); 60 output = new OutputAnalyzer(pb.start()); 61 output.shouldContain("warning: .hotspotrc file is present but has been ignored. Run with -XX:Flags=.hotspotrc to load the file.");
|
H A D | CompilerConfigFileWarning.java | 41 OutputAnalyzer output; 49 output = new OutputAnalyzer(pb.start()); 50 output.shouldContain("CompileCommand: unrecognized command"); 51 output.shouldContain("aaa, aaa"); 60 output = new OutputAnalyzer(pb.start()); 61 output.shouldContain("warning: .hotspot_compiler file is present but has been ignored. Run with -XX:CompileCommandFile=.hotspot_compiler to load the file.");
|
H A D | TestVMOptions.java | 44 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 45 output.shouldContain("bool UseSerialGC"); 49 output = new OutputAnalyzer(pb.start()); 50 output.shouldMatch("(openjdk|java)\\sversion"); 56 output = new OutputAnalyzer(pb.start()); 57 output.shouldContain("VM option '-IgnoreUnrecognizedVMOptions'");
|
/openjdk9/hotspot/test/testlibrary_tests/ctw/ |
H A D | JarDirTest.java | 71 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 72 dump(output, "ctw-foo.jar"); 73 output.shouldHaveExitValue(0); 77 output = new OutputAnalyzer(pb.start()); 78 dump(output, "ctw-bar.jar"); 79 output.shouldHaveExitValue(0);
|
/openjdk9/jdk/test/java/lang/instrument/ |
H A D | StressGetObjectSizeTest.sh | 56 > output.log 2>&1 57 cat output.log 60 grep "$MESG" output.log 63 echo "FAIL: found '$MESG' in the test output" 66 echo "PASS: did NOT find '$MESG' in the test output"
|