ThreadPoolExecutor and finalization

Jason Mehrens jason_mehrens at hotmail.com
Tue Oct 31 14:13:11 UTC 2017


Hi Peter,

Most of the discussion is in: https://bugs.openjdk.java.net/browse/JDK-6399443.  The linked issue in that report then links to the CI mail thread.

Jason


>I'm trying to understand the purpose of finalize() in TPE, but can't.
>I'm surely missing something. If the pool is no longer referenced AND
>there are no active threads, what is there left to shutdown() actually?
>All that remains is garbage that will eventually be GCed.

>Regards, Peter




More information about the core-libs-dev mailing list