RFR: JDK-8247589: Implementation of Alpine Linux/x64 Port [v2]
David Holmes
dholmes at openjdk.java.net
Mon Sep 14 04:21:27 UTC 2020
On Fri, 11 Sep 2020 07:36:57 GMT, Aleksei Voitylov <avoitylov at openjdk.org> wrote:
>> test/hotspot/jtreg/runtime/StackGuardPages/exeinvoke.c line 282:
>>
>>> 280:
>>> 281: pthread_attr_init(&thread_attr);
>>> 282: pthread_attr_setstacksize(&thread_attr, stack_size);
>>
>> Just a comment in response to the explanation as to why this change is needed. If the default thread stacksize under
>> musl is insufficient to successfully attach such a thread to the VM then this will cause problems for applications that
>> embed the VM directly (or which otherwise directly attach existing threads).
>
> This fix https://git.musl-libc.org/cgit/musl/commit/src/aio/aio.c?id=1a6d6f131bd60ec2a858b34100049f0c042089f2
> addresses the problem for recent versions of musl. The test passes on a recent Alpine Linux 3.11.6 (musl 1.1.24) and
> fails on Alpine Linux 3.8.2 (musl 1.1.19) without this test fix. There are still older versions of the library in the
> wild, hence the test fix. The mitigation for such users would be a distro upgrade.
Thanks for the additional info on this.
-------------
PR: https://git.openjdk.java.net/jdk/pull/49
More information about the hotspot-runtime-dev
mailing list