diff options
author | 2020-02-24 16:00:13 -0800 | |
---|---|---|
committer | 2020-02-25 20:32:05 +0000 | |
commit | 6972b9631cb85249ab35cf9f443890089733d022 (patch) | |
tree | f3e6ba702494cf1b155dd4999877fafd19ed94bb | |
parent | c42db836671ac361a18e929d137e98f36b71ad73 (diff) |
Speed up test
Reduce the size of the arrays to make this cheaper.
We expect that especially with gcstress this used to accidentally
be much cheaper. Since the main thread exits immediately, we started
the shutdown process before most of the work was done, and thus
this was inadvertently largely run with the GC disabled.
Since it is now WAI, it took too long, and timed out regularly.
Bug: 148126377
Test: TreeHugger
Change-Id: I42e4e3ff04d261f6beaaa942e178a78a91ee5f78
-rw-r--r-- | test/096-array-copy-concurrent-gc/src/Main.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/096-array-copy-concurrent-gc/src/Main.java b/test/096-array-copy-concurrent-gc/src/Main.java index c8e538b5e3..3cf791a555 100644 --- a/test/096-array-copy-concurrent-gc/src/Main.java +++ b/test/096-array-copy-concurrent-gc/src/Main.java @@ -42,7 +42,7 @@ public class Main { } } - Object [] array = new Object[10000]; + Object [] array = new Object[8000]; void stressArray(boolean doLog) { // We want many references in the array |