On Thu, 21 Jul 2022 18:48:14 GMT, Jorn Vernee <jver...@openjdk.org> wrote:

> This patch removes the use of std::thread from the `java.lang.foreign` tests, 
> and switches to the OS specific thread APIs, in order to change things such 
> as the stack size on some platforms where this is required in the future (see 
> the JBS issue).
> 
> This is done by adding a small header-only library that exposes a function to 
> run code in freshly spawned threads (`run_async`).
> 
> Testing: Running the affected tests on platforms that implement the linker.

@JornVernee thanks for doing this so quickly. I suggest undoing 
https://github.com/openjdk/jdk/commit/d7f0de272c85ee8d0890c9d61e10065b618b69d7 
in this change, too. If you update this PR I can run it through our Alpine test 
pipeline.

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

PR: https://git.openjdk.org/jdk/pull/9599

Reply via email to