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

Alexey Pavlyutkin duke at openjdk.org
Tue May 9 14:52: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)

This pull request has now been integrated.

Changeset: 1f601e90
Author:    Alexey Pavlyutkin <apavlyutkin at azul.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/1f601e90a587af2ea941e520ac9cf7ad3a119144
Stats:     97 lines in 3 files changed: 61 ins; 1 del; 35 mod

8303861: Error handling step timeouts should never be blocked by OnError and others

Reviewed-by: phh
Backport-of: 345e370fed065e2ee312fc315bfc453a29fbb2f0

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

PR: https://git.openjdk.org/jdk11u-dev/pull/1856


More information about the jdk-updates-dev mailing list