summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sorin Basca <sorinbasca@google.com> 2022-04-26 11:44:55 +0000
committer Sorin Basca <sorinbasca@google.com> 2022-04-27 12:08:20 +0000
commit6bc83ddca0124824bc379a59e3109729f6eda786 (patch)
tree0a98bd01f34469a99b5d4ef2423b4c937772ea28
parentfe596be1d2b3a375fa5413c9c68a535cfc8b857d (diff)
Reduce thread count for 719-varhandle-concurrency test
This includes the revert of the temporary measure for the failing test (Ie4f11f53b8b3fb1507bf7dc0a2dae018f48aa573). Fixes: 229958698 Test: Reverted arm32 register clobbering fix and see test still catches the error (see I14d51f0aa1e26de82be7077ac5597bbeec476dcd) Change-Id: I49a399826cc09863f2ea3ebdf40acf5845892f7f
-rw-r--r--test/719-varhandle-concurrency/src/Main.java2
-rw-r--r--test/knownfailures.json5
2 files changed, 1 insertions, 6 deletions
diff --git a/test/719-varhandle-concurrency/src/Main.java b/test/719-varhandle-concurrency/src/Main.java
index 1c2135bf7d..f89a0bb867 100644
--- a/test/719-varhandle-concurrency/src/Main.java
+++ b/test/719-varhandle-concurrency/src/Main.java
@@ -39,7 +39,7 @@ public class Main {
}
private static final int TASK_COUNT = 10000;
- private static final int THREAD_COUNT = 100;
+ private static final int THREAD_COUNT = 20;
/* Each test may need several retries before a concurrent failure is seen. In the past, for a
* known bug, between 5 and 10 retries were sufficient. Use RETRIES to configure how many
* iterations to retry for each test scenario. However, to avoid the test running for too long,
diff --git a/test/knownfailures.json b/test/knownfailures.json
index 8b18d178f0..c258f0f8a8 100644
--- a/test/knownfailures.json
+++ b/test/knownfailures.json
@@ -1498,10 +1498,5 @@
"variant": "target & ndebug & 64",
"bug": "b/224733324",
"description": ["segfault in VarHandle::GetMethodTypeMatchForAccessMode"]
- },
- {
- "tests": ["719-varhandle-concurrency"],
- "bug": "b/229958698",
- "description": ["SIGSEGV in pthread_create"]
}
]