Integrated: 8315739: Missing null check in os::vm_min_address

Daniel Jeliński djelinski at openjdk.org
Thu Sep 21 12:46:54 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.

This pull request has now been integrated.

Changeset: 349723cb
Author:    Daniel Jeliński <djelinski at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/349723cb8dd7a5e496f348dc8689431480ef1083
Stats:     6 lines in 1 file changed: 3 ins; 0 del; 3 mod

8315739: Missing null check in os::vm_min_address

Reviewed-by: dholmes, jvernee

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

PR: https://git.openjdk.org/jdk/pull/15596


More information about the hotspot-runtime-dev mailing list