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
diff --git a/test/096-array-copy-concurrent-gc/src/Main.java b/test/096-array-copy-concurrent-gc/src/Main.java
index c8e538b..3cf791a 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 @@
}
}
- Object [] array = new Object[10000];
+ Object [] array = new Object[8000];
void stressArray(boolean doLog) {
// We want many references in the array