RFR: 8229147: Linux os::create_thread() overcounts guardpage size with newer glibc (>=2.27)

David Holmes dholmes at openjdk.org
Sat Apr 22 01:02:02 UTC 2023


On Fri, 21 Apr 2023 13:44:52 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> Hi David, does this work for Alpine or should it be glibc only?

The existing code applies the workaround regardless of libc implementation. I assume musl C library would not have `__pthread_get_minstack` in which case the new code will preserve the existing behaviour and apply the adjustment. I've no idea whether musl C library handles guard pages correctly or not.

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

PR Comment: https://git.openjdk.org/jdk/pull/13571#issuecomment-1518451016


More information about the hotspot-runtime-dev mailing list