RFR: 8345432: (ch, fs) Replace anonymous Thread with InnocuousThread

Alan Bateman alanb at openjdk.org
Thu Dec 12 16:48:36 UTC 2024


On Thu, 12 Dec 2024 16:31:11 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> > The loopback connector thread in the Windows version of `PipeImpl` still uses an anonymous thread as it overrides `interrupt()` to do nothing.
> 
> @AlanBateman , do you have any comment on this?

It's short lived so any inheritance isn't going to cause memory to be retained. On balance, it's probably best to convert this one while you are in the area, avoids questions in the future.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22697#issuecomment-2539474753


More information about the nio-dev mailing list