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. This pull request has now been integrated. Changeset: 54a2c5a6 Author: Jorn Vernee <jver...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/54a2c5a6d148fecbe87f861933e4ae9459bacf65 Stats: 179 lines in 7 files changed: 131 ins; 7 del; 41 mod 8290059: Do not use std::thread in panama tests Reviewed-by: mcimadamore, stuefe, erikj ------------- PR: https://git.openjdk.org/jdk/pull/9599