RFR: 8354878: File Leak in CgroupSubsystemFactory::determine_type of cgroupSubsystem_linux.cpp:300 [v2]

duke duke at openjdk.org
Thu May 8 13:46:57 UTC 2025


On Thu, 8 May 2025 11:47:33 GMT, Casper Norrbin <cnorrbin at openjdk.org> wrote:

>> Hi,
>> 
>> There's a file descriptor in `cgroupSubsystem_linux.cpp` that isn't closed if we successfully open it but can't read from it. In that case, the open descriptor should still be closed before returning.
>
> Casper Norrbin has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fixed copyright header

@caspernorrbin 
Your change (at version c38ac30027dd5ce9ada789efd45d55e087fe5a49) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/25093#issuecomment-2863126845


More information about the hotspot-runtime-dev mailing list