|
From: | guillerodriguez.dev at gmail dot com |
Subject: | [Bug classpath/111587] Running a native process may introduce up to 1 second additional delay |
Date: | Mon, 25 Sep 2023 09:55:13 +0000 |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111587 --- Comment #2 from Guillermo Rodriguez <guillerodriguez.dev at gmail dot com> --- n.b. Calling workList.notify would only help if the native process has already finished when waitFor() or destroy() are called. It will not help if the native process is still running. Specifically it would not make a difference in the "sleep" test case. This was only meant to show how the reaper thread polls every second. Depending on application needs it may be a good idea to also make MAX_REAP_DELAY configurable; for example via a System property.
[Prev in Thread] | Current Thread | [Next in Thread] |