RFR: 8315739: Missing null check in os::vm_min_address
Daniel Jeliński
djelinski at openjdk.org
Mon Sep 11 12:14:41 UTC 2023
On Wed, 6 Sep 2023 15:29:30 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
> Please review this fix for handling of file `/proc/sys/vm/mmap_min_addr` which does not exist on WSL1.
>
> This fixes a crash if the file is absent, and a file handle leak (missing `fclose`) when the file is present.
>
> Linux tier1 tests clean.
I'd appreciate a review; tiny change, shouldn't take long.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15596#issuecomment-1713755198
More information about the hotspot-runtime-dev
mailing list