RFR: 8331553: Windows JVM leaks Event and Thread handles when multiple threads are used [v2]
David Holmes
dholmes at openjdk.org
Wed Jun 26 12:37:15 UTC 2024
On Wed, 26 Jun 2024 07:48:54 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
> the waiting thread wakes up, but still needs to compete with the notifying thread for the monitor.
No, a notified thread is moved from the wait-queue to the monitor-entry queue. It is only unparked once the notifier thread releases the monitor.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19778#issuecomment-2191581637
More information about the build-dev
mailing list