8241354: ZGC: fatal error: Failed to get NUMA id due to get_mempolicy operation not permitted(Internet mail)
jiefu(傅杰)
jiefu at tencent.com
Sun Mar 22 13:35:53 UTC 2020
Hi Erik,
Thanks for your review and valuable comments.
Updated: http://cr.openjdk.java.net/~jiefu/8241354/webrev.01/
Please review it.
Thanks a lot.
Best regards,
Jie
On 2020/3/22, 4:26 PM, "Erik Österlund" <erik.osterlund at oracle.com> wrote:
Hi Jie,
It seems to me that if the environment doesn’t supply the required NUMA APIs, then we really should disable UseNUMA instead. I propose we check the availability of the syscall during initialization instead, and switch off all NUMA functionality when appropriate. And we should only print a warning if the user explicitly supplied UseNUMA on the command line.
Thanks,
/Erik
> On 20 Mar 2020, at 13:15, jiefu(傅杰) <jiefu at tencent.com> wrote:
>
> Hi all,
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8241354
> Webrev: http://cr.openjdk.java.net/~jiefu/8241354/webrev.00/
>
> A VM fatal error may be observed if ZGC is used.
>
> The background is that some of our products will run in the docker.
> For some safety reason, SYS_get_mempolicy is not allowed in the docker.
>
> It might be not a good practice to generate a fatal error when get_mempolicy fails.
> What do you think?
>
> Thanks a lot.
> Best regards,
> Jie
More information about the hotspot-gc-dev
mailing list