[Integrated] RFR: Avoid jtreg test timeout in aarch64 due to a stackoverflow in process reaper
Jie He
github.com+10233373+jhe33 at openjdk.java.net
Sun May 10 04:32:40 UTC 2020
On Wed, 6 May 2020 09:41:59 GMT, Jie He <github.com+10233373+jhe33 at openjdk.org> wrote:
> Process reaper has a small size stack by default, 128K. With tsan
> enabled, it often causes SOE failure when running jtreg tests. Set
> -Djdk.lang.processReaperUseDefaultStackSize=true, to let jtreg test
> use default JVM stack size (global variable ThreadStackSize) in
> aarch64, which could be configured by -Xss.
>
> I took an investigation about the stackoverflow, [1].
> and found the different GLIBC behaviors between x86 and aarch64 stack
> allocation due to default stack size in openjdk. x86 will get the stack from
> glibc cached stack because it matches the threshold to allocate a stack from
> cached stack, but aarch64 not.
>
> [1] https://groups.google.com/forum/#!topic/thread-sanitizer/RsPcxUXBokg
This pull request has now been integrated.
Changeset: 02fa9c0d
Author: jie.he <10233373+jhe33 at users.noreply.github.com>
Committer: Arthur Eubanks <aeubanks at openjdk.org>
URL: https://git.openjdk.java.net/tsan/commit/02fa9c0d
Stats: 9 lines in 1 file changed: 0 ins; 9 del; 0 mod
Avoid jtreg test timeout in aarch64 due to a stackoverflow in process reaper
-------------
PR: https://git.openjdk.java.net/tsan/pull/8
More information about the tsan-dev
mailing list