RFR: 8362123: ClassLoader Leak via Executors.newSingleThreadExecutor(...)
Viktor Klang
vklang at openjdk.org
Fri Sep 26 15:09:12 UTC 2025
On Mon, 21 Jul 2025 13:16:37 GMT, Chris Dennis <duke at openjdk.org> wrote:
>> Executors shutdown via `shutdownNow()` should have their cleanables cleaned to prevent a classloader leak. This can happen if a classloader exists that both references the wrapped executor and is referenced by the delegate executor.
>>
>> To quote @Martin-Buchholz:
>>> BTW: I find Cleaners much harder to use than old finalize, and it looks like I'm not the only one!
>
> @robilad : Apologies for the direct invoke, but I've seen you facilitate this process before, so hope this is still the right way to bump things:
>
> I've waited a "few business days" but have seen no movement on the OCA verification, and have noticed no verification email inbound to me (chris.w.dennis at ibm.com).
@chrisdennis Looks like your OCA approval was resolved, so I'll have a look at your Pull-Request now.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26296#issuecomment-3339093432
More information about the core-libs-dev
mailing list