RFR: 8311926: java/lang/ScopedValue/StressStackOverflow.java takes 9mins in tier1

Alan Bateman alanb at openjdk.org
Wed Jul 12 09:11:32 UTC 2023


The test runs 3 times, each run is for 3 minutes so 9 mins in total and too long for tier1. Here's the times for test/jdk:tier1_part1 that I see locally:


==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR
   jtreg:test/jdk:tier1_part1                    1025  1025     0     0
==============================
TEST SUCCESS

Finished building target 'run-test' in configuration 'linux-x64'

real	10m22.414s
user	64m1.774s
sys	2m31.938s


The test is changed to use separate test description so that the 3 runs can execute in parallel if possible. I've also dialled down the test from 3 to 2 minutes. At some point we need to tackle the issue of stress tests in tier1, this one may be a candidate for a higher tier. The exclude list for JTREG_TEST_THREAD_FACTORY=Virtual (ProblemList-Virtual.txt) is also updated to exclude the test on all platforms rather than just Linux while JDK-8309646 is being investigated.

Here are the times with the updated test:


==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR
   jtreg:test/jdk:tier1_part1                    1027  1027     0     0
==============================
TEST SUCCESS

Finished building target 'run-test' in configuration 'linux-x64'

real	3m22.509s
user	60m15.551s
sys	2m32.574s

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

Commit messages:
 - Initial commit

Changes: https://git.openjdk.org/jdk/pull/14849/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14849&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8311926
  Stats: 20 lines in 2 files changed: 14 ins; 1 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/14849.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14849/head:pull/14849

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


More information about the core-libs-dev mailing list