[jdk11u-dev] RFR: 8303861: Error handling step timeouts should never be blocked by OnError and others
Paul Hohensee
phh at openjdk.org
Fri May 5 13:17:27 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)
Lgtm.
-------------
Marked as reviewed by phh (Reviewer).
PR Review: https://git.openjdk.org/jdk11u-dev/pull/1856#pullrequestreview-1414770868
More information about the jdk-updates-dev
mailing list