Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8250750: JDK-8247515 fix for OSX pc_to_symbol() lookup fails with som…
…e symbols

8249150: SA core file tests sometimes time out on OSX with "java.io.IOException: App waiting timeout"

Reviewed-by: sspitsyn, amenkov
  • Loading branch information
plummercj committed Aug 4, 2020
1 parent fb600ad commit 92b4f568f6a42301f8b7712863525c2eecb8a0f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
@@ -45,7 +45,7 @@
* @summary Test clhsdb pmap command on a core file
* @requires vm.hasSA
* @library /test/lib
* @run main/othervm ClhsdbPmap true
* @run main/othervm/timeout=240 ClhsdbPmap true
*/

public class ClhsdbPmap {
@@ -45,7 +45,7 @@
* @summary Test clhsdb pstack command on a core file
* @requires vm.hasSA
* @library /test/lib
* @run main/othervm ClhsdbPstack true
* @run main/othervm/timeout=240 ClhsdbPstack true
*/

public class ClhsdbPstack {
@@ -92,6 +92,7 @@ public class LingeredApp {
protected Process appProcess;
protected OutputBuffer output;
protected static final int appWaitTime = 100;
protected static final int appCoreWaitTime = 240;
protected final String lockFileName;

protected boolean forceCrash = false; // set true to force a crash and core file
@@ -291,7 +292,7 @@ public void waitAppReady(long timeout) throws IOException {
* Waits for the application to start with the default timeout.
*/
public void waitAppReady() throws IOException {
waitAppReady(appWaitTime);
waitAppReady(forceCrash ? appCoreWaitTime : appWaitTime);
}

/**

0 comments on commit 92b4f56

Please sign in to comment.