RFR: 8261028: ZGC: SIGFPE when MaxVirtMemFraction=0
Jie Fu
jiefu at openjdk.java.net
Wed Feb 3 12:26:44 UTC 2021
On Wed, 3 Feb 2021 11:57:16 GMT, Stefan Karlsson <stefank 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!
Thanks @stefank and @pliden for your review.
Will push it tomorrow.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2374
More information about the hotspot-gc-dev
mailing list