On Wed, 8 Feb 2023 11:33:07 GMT, Varada M <d...@openjdk.org> wrote: > I hate to see the code duplication, but we don't have a sharing mechanism for > the native parts of tests so that can't be helped.
It may be interesting to invest some time to find out if the "don't start on primordial thread" rule still holds on modern AIX versions. I added this rule 18 years ago with our original (internal) AIX port because - IIRC - we were unable to find out the stack dimensions of the primordial thread, and we could not place guard pages reliably. And maybe some other problems too; the primordial thread behaved a lot different from pthread back then. Maybe modern AIX variants don't have that problem anymore. We could cut down all this coding. Cheers, Thomas ------------- PR: https://git.openjdk.org/jdk/pull/12302