RFR: 8236569: -Xss not multiple of 4K does not work for the main thread on macOS [v5]

David Holmes dholmes at openjdk.java.net
Mon Jun 7 05:13:59 UTC 2021


On Mon, 7 Jun 2021 03:22:18 GMT, Henry Jen <henryjen at openjdk.org> wrote:

> while some other Posix system might as explained in the man page

What manpage?

The POSIX specification for this does not allow for EINVAL being returned due to alignment issues. That is an extra constraint imposed by macOS and which makes it non-conforming to the POSIX spec IMO. While the changes in  src/java.base/unix/native/libjli/java_md.c seem perfectly fine, are we actually ever going to execute it?

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

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


More information about the core-libs-dev mailing list