[jdk11u-dev] RFR: 8303861: Error handling step timeouts should never be blocked by OnError and others

Alexey Pavlyutkin duke at openjdk.org
Wed May 10 11:11:29 UTC 2023


On Fri, 5 May 2023 10:24:07 GMT, Alexey Pavlyutkin <duke at openjdk.org> wrote:

> HI!
> 
> Here is backport of JDK-8303861. The patch fixes error reporting timeout processing for the case when a user specifies OnError hook. Before the patch in this case JVM just ignored timeout and therefore WatcherThread could not break malloc() deadlock in error reporting routine.
> 
> The patch from 17 applied with the only change: in `void WatcherThread::run()` is located in `thread.cpp` (`nonJavaThread.cpp` in 17).
> 
> Verification/regression (amd64/LTS20.04): test/hotspot/jtreg/runtime/ErrorHandling (includes updated test)

JDK-8307811 raised

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/1856#issuecomment-1541964126


More information about the jdk-updates-dev mailing list