Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit 92b4f56

Browse files
committedAug 4, 2020
8250750: JDK-8247515 fix for OSX pc_to_symbol() lookup fails with some symbols
8249150: SA core file tests sometimes time out on OSX with "java.io.IOException: App waiting timeout" Reviewed-by: sspitsyn, amenkov
1 parent fb600ad commit 92b4f56

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed
 

‎test/hotspot/jtreg/serviceability/sa/ClhsdbPmap.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* @summary Test clhsdb pmap command on a core file
4646
* @requires vm.hasSA
4747
* @library /test/lib
48-
* @run main/othervm ClhsdbPmap true
48+
* @run main/othervm/timeout=240 ClhsdbPmap true
4949
*/
5050

5151
public class ClhsdbPmap {

‎test/hotspot/jtreg/serviceability/sa/ClhsdbPstack.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* @summary Test clhsdb pstack command on a core file
4646
* @requires vm.hasSA
4747
* @library /test/lib
48-
* @run main/othervm ClhsdbPstack true
48+
* @run main/othervm/timeout=240 ClhsdbPstack true
4949
*/
5050

5151
public class ClhsdbPstack {

‎test/lib/jdk/test/lib/apps/LingeredApp.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public class LingeredApp {
9292
protected Process appProcess;
9393
protected OutputBuffer output;
9494
protected static final int appWaitTime = 100;
95+
protected static final int appCoreWaitTime = 240;
9596
protected final String lockFileName;
9697

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

297298
/**

0 commit comments

Comments
 (0)
This repository has been archived.