summaryrefslogtreecommitdiffstats
path: root/test/114-ParallelGC
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-07-23 17:25:41 -0700
committerMathieu Chartier <mathieuc@google.com>2014-07-23 17:25:41 -0700
commitac3cea0c728205ad079d67f83c97408f5d81e0df (patch)
treec2a7b53404a6c501eaa88bbbadfac53bd273d1c1 /test/114-ParallelGC
parentcfd31c5e266d1aecc66278fdea46e88e323a181d (diff)
downloadart-ac3cea0c728205ad079d67f83c97408f5d81e0df.zip
art-ac3cea0c728205ad079d67f83c97408f5d81e0df.tar.gz
art-ac3cea0c728205ad079d67f83c97408f5d81e0df.tar.bz2
Reduce allocations in ParallelGC test.
Fixes GC stress test mode. Bug: 16406852 Change-Id: I86c8fd7516c3f41075bca00c7d5b4dab2bb7b1d4
Diffstat (limited to 'test/114-ParallelGC')
-rw-r--r--test/114-ParallelGC/src/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/114-ParallelGC/src/Main.java b/test/114-ParallelGC/src/Main.java
index 01a3023..fb110bd 100644
--- a/test/114-ParallelGC/src/Main.java
+++ b/test/114-ParallelGC/src/Main.java
@@ -39,7 +39,7 @@ public class Main implements Runnable {
public void run() {
List l = new ArrayList();
- for (int i = 0; i < 1000; i++) {
+ for (int i = 0; i < 500; i++) {
l.add(new ArrayList(i));
}
}