Integrated: 8261028: ZGC: SIGFPE when MaxVirtMemFraction=0

Jie Fu jiefu at openjdk.java.net
Thu Feb 4 00:08:54 UTC 2021


On Wed, 3 Feb 2021 11:01:35 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> Hi all,
> 
> The SIGFPE was caused by this line [1] when MaxVirtMemFraction=0.
> But according to this comment [2], 0 should not be allowed for MaxVirtMemFraction.
> 
> Thanks.
> Best regards,
> Jie
> 
> [1] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/gc/z/zAddressSpaceLimit.cpp#L51
> [2] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/gc/shared/gc_globals.hpp#L345

This pull request has now been integrated.

Changeset: e2516e41
Author:    Jie Fu <jiefu at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/e2516e41
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

8261028: ZGC: SIGFPE when MaxVirtMemFraction=0

Reviewed-by: stefank, pliden

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

PR: https://git.openjdk.java.net/jdk/pull/2374



More information about the hotspot-gc-dev mailing list