RFR: 8331553: Windows JVM leaks Event and Thread handles when multiple threads are used [v2]
David Holmes
dholmes at openjdk.org
Mon Jun 24 05:09:16 UTC 2024
On Thu, 20 Jun 2024 05:58:16 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>> Oh. That's.... interesting. 😞
>
> Of course pre-existing, but the typical pattern we use with RAII objects that may or may not do something is to give it a constructor argument, e.g. `bool activate`, that controls if it is activated. Allocating an RAII object with new/delete seems odd.
Please just let this sleeping dog lie. ;-)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19778#discussion_r1650340219
More information about the build-dev
mailing list