RFR: 8261028: ZGC: SIGFPE when MaxVirtMemFraction=0

Stefan Karlsson stefank at openjdk.java.net
Wed Feb 3 11:59:38 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

Looks good. Thanks for fixing!

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

Marked as reviewed by stefank (Reviewer).

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



More information about the hotspot-gc-dev mailing list