Integrated: 8344143: Test jdk/java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java timed out on macosx-x64

Alan Bateman alanb at openjdk.org
Tue Nov 19 16:41:03 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.

This pull request has now been integrated.

Changeset: 48223f7b
Author:    Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/48223f7b9c6fbaf4e6751a5b41ea9e9046a48f91
Stats:     28 lines in 2 files changed: 17 ins; 4 del; 7 mod

8344143: Test jdk/java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java timed out on  macosx-x64

Reviewed-by: pchilanomate

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

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


More information about the core-libs-dev mailing list