Integrated: 8366694: Test JdbStopInNotificationThreadTest.java timed out after 60 second

SendaoYan syan at openjdk.org
Thu Sep 4 01:31:59 UTC 2025


On Tue, 2 Sep 2025 15:10:52 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> 
> Test com/sun/jdi/JdbStopInNotificationThreadTest.java fails "Exception thrown during test execution: waitForPrompt timed out after 60 seconds" after JDK-8260555 change the default timeout factor from 4 to 1. Before JDK-8260555, the "waitForPrompt timed out" value if calculate from `Utils.adjustTimeout(60000)` in [test/jdk/com/sun/jdi/lib/jdb/Jdb.java](https://github.com/openjdk/jdk/blob/master/test/jdk/com/sun/jdi/lib/jdb/Jdb.java#L80), it will [multiply the timeout factor](https://github.com/openjdk/jdk/blob/master/test/lib/jdk/test/lib/Utils.java#L468) . 
> 
> This PR add '-Xmx64' to make debugee JVM to finish the java heap allocation quickly.
> 
> Change has been verified locally, no risk.

This pull request has now been integrated.

Changeset: ed62bda2
Author:    SendaoYan <syan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ed62bda2e0c51a67baae1fc28e41c9cd878db5f4
Stats:     4 lines in 1 file changed: 2 ins; 0 del; 2 mod

8366694: Test JdbStopInNotificationThreadTest.java timed out after 60 second

Reviewed-by: cjplummer, ayang, lmesnik

-------------

PR: https://git.openjdk.org/jdk/pull/27055


More information about the serviceability-dev mailing list