OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfd31c5
)
Reduce allocations in ParallelGC test.
author
Mathieu Chartier
<mathieuc@google.com>
Thu, 24 Jul 2014 00:25:41 +0000
(17:25 -0700)
committer
Mathieu Chartier
<mathieuc@google.com>
Thu, 24 Jul 2014 00:25:41 +0000
(17:25 -0700)
Fixes GC stress test mode.
Bug:
16406852
Change-Id: I86c8fd7516c3f41075bca00c7d5b4dab2bb7b1d4
test/114-ParallelGC/src/Main.java
patch
|
blob
|
history
diff --git
a/test/114-ParallelGC/src/Main.java
b/test/114-ParallelGC/src/Main.java
index
01a3023
..
fb110bd
100644
(file)
--- 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 <
10
00; i++) {
+ for (int i = 0; i <
5
00; i++) {
l.add(new ArrayList(i));
}
}