RFR JDK-8210725: com/sun/jdi/RedefineClearBreakpoint.java fails with waitForPrompt timed out after 60 seconds

Alex Menkov alexey.menkov at oracle.com
Mon Sep 17 17:49:02 UTC 2018


Hi all,

please review small fix:
http://cr.openjdk.java.net/~amenkov/sh2java/timeout/webrev.01/

It fixes
https://bugs.openjdk.java.net/browse/JDK-8210725
- accordingly the logs of the failing tests, they work as expected, but 
sometimes (busy environment?) there is no reply from jdb for 60 seconds, 
so tests throw exception.
The timeout can be removed at all (so timeouts would be handled by 
general jtreg timeout mechanism), but prefer keep smaller timeout for 
jdb reply, but apply timefactor to the value.

Also the change fixes
https://bugs.openjdk.java.net/browse/JDK-8210748
- in the case of error additional logging is done to indicate certain 
point where the error occurs.

--alex


More information about the serviceability-dev mailing list