This repository was archived by the owner on Aug 27, 2022. It is now read-only.
File tree 3 files changed +4
-3
lines changed
hotspot/jtreg/serviceability/sa
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 45
45
* @summary Test clhsdb pmap command on a core file
46
46
* @requires vm.hasSA
47
47
* @library /test/lib
48
- * @run main/othervm ClhsdbPmap true
48
+ * @run main/othervm/timeout=240 ClhsdbPmap true
49
49
*/
50
50
51
51
public class ClhsdbPmap {
Original file line number Diff line number Diff line change 45
45
* @summary Test clhsdb pstack command on a core file
46
46
* @requires vm.hasSA
47
47
* @library /test/lib
48
- * @run main/othervm ClhsdbPstack true
48
+ * @run main/othervm/timeout=240 ClhsdbPstack true
49
49
*/
50
50
51
51
public class ClhsdbPstack {
Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ public class LingeredApp {
92
92
protected Process appProcess ;
93
93
protected OutputBuffer output ;
94
94
protected static final int appWaitTime = 100 ;
95
+ protected static final int appCoreWaitTime = 240 ;
95
96
protected final String lockFileName ;
96
97
97
98
protected boolean forceCrash = false ; // set true to force a crash and core file
@@ -291,7 +292,7 @@ public void waitAppReady(long timeout) throws IOException {
291
292
* Waits for the application to start with the default timeout.
292
293
*/
293
294
public void waitAppReady () throws IOException {
294
- waitAppReady (appWaitTime );
295
+ waitAppReady (forceCrash ? appCoreWaitTime : appWaitTime );
295
296
}
296
297
297
298
/**
You can’t perform that action at this time.
0 commit comments