RFR: 8358077: sun.tools.attach.VirtualMachineImpl::checkCatchesAndSendQuitTo on Linux leaks file handles after JDK-8327114
duke
duke at openjdk.org
Tue Jun 3 17:11:54 UTC 2025
On Thu, 29 May 2025 19:14:06 GMT, Larry Cable <duke at openjdk.org> wrote:
> JDK-8358077:sun.tools.attach.VirtualMachineImpl::checkCatchesAndSendQuitTo on Linux leaks file handles after JDK-8327114
>
> modified the code to place the `Files::lines` in a `try-with-resources` block in order to autoclose the `Stream` and underlying file resources immediately.
@larry-cable
Your change (at version c30a4b3120c326fca626f02a2a92a18c98037c55) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25529#issuecomment-2936356013
More information about the serviceability-dev
mailing list