RFR: 8241354: ZGC: fatal error: Failed to get NUMA id due to get_mempolicy operation not permitted
Florian Weimer
fw at deneb.enyo.de
Sat Mar 21 12:50:47 UTC 2020
* jiefu(傅杰):
> 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.
Is warning() printed to standard output or standard error?
> 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.
Various container runtimes randomly disable system calls they deem
unworthy. It's a common problem for the first widespread use of any
system call. Some of the runtimes also do not simply return ENOSYS
errors (which the kernel would use to indicate that the system call is
not supported).
More information about the hotspot-gc-dev
mailing list