RFR: 8241423: NUMA APIs fail to work in dockers due to dependent syscalls are disabled by default [v2]

Jie Fu jiefu at openjdk.java.net
Wed May 26 14:28:40 UTC 2021


On Wed, 26 May 2021 13:04:30 GMT, David Holmes <dholmes at openjdk.org> wrote:

> This can just be a static function in the file rather then being in the os::Linux "namespace"

Updated.
Thanks.

> Is this SYS_get_mempolicy symbol guaranteed to be available on our supported Linux versions? See earlier in the file for how we handle SYS_gettid and SYS_getcpu.

I think it's OK to use the symbol directly since we have used it in ZGC [1].
Thanks.

[1] https://github.com/openjdk/jdk/blob/master/src/hotspot/os/linux/gc/z/zSyscall_linux.cpp#L39

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

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


More information about the hotspot-runtime-dev mailing list