RFR: 8344143: Test jdk/java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java timed out on macosx-x64
Patricio Chilano Mateo
pchilanomate at openjdk.org
Tue Nov 19 14:26:58 UTC 2024
On Mon, 18 Nov 2024 09:28:58 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> Dial down GetStackTraceALotWhenBlocking and GetStackTraceALotWhenPinned as they make slow progress when executed concurrently on under power systems. GetStackTraceALotWhenBlocking has 3 busy threads, GetStackTraceALotWhenPinned has two spinning threads. When they run concurrently in jdk/:tier1_part1 then they compete for CPU cycles on systems with a small number of cores, specifically the macOS systems in CIs and GHA that have only 4 cores, and make slow progress.
>
> Both tests are also changed to fail eagerly if the main thread is interrupted by jtreg. Also the progress output of both tests is adjusted to print a progress message every second if possible.
Thanks for investigating this issue.
-------------
Marked as reviewed by pchilanomate (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/22193#pullrequestreview-2445633719
More information about the core-libs-dev
mailing list