RFR: 8324668: JDWP process management needs more efficient file descriptor handling [v4]

Alan Bateman alanb at openjdk.org
Tue Jan 30 07:17:31 UTC 2024


On Tue, 30 Jan 2024 06:47:38 GMT, David Holmes <dholmes at openjdk.org> wrote:

> If we are going to check close for errors then we will have to know for certain we are only trying to close open fd's, and we will have to deal with EINTR. I would think this is a "best effort" to close open FD's and not something we have to care about in detail.

Right, EINTR would need to be ignored as it would be wrong to restart. I'm scratching my head as to why this code would even do with EIO or if it even possible here.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17588#discussion_r1470688246


More information about the serviceability-dev mailing list