summaryrefslogtreecommitdiff
path: root/test/004-InterfaceTest/src/Main.java
diff options
context:
space:
mode:
author Dave Allison <dallison@google.com> 2014-08-14 17:02:48 +0000
committer Dave Allison <dallison@google.com> 2014-08-14 19:01:04 -0700
commitb038ba66a166fb264ca121632f447712e0973b5b (patch)
tree19e41419057be723ed899dac86c745c09f739dfd /test/004-InterfaceTest/src/Main.java
parent44bd8c1cc4d8e0ffcdbdf51ed496af94fc2083e5 (diff)
Revert "Revert "Reduce stack usage for overflow checks""
Fixes stack protection issue. Fixes mac build issue. This reverts commit 83b1940e6482b9d8feba5c492507735686650ea5. Change-Id: I7ba17252882b23a740bcda2ea94aacf398255406
Diffstat (limited to 'test/004-InterfaceTest/src/Main.java')
-rw-r--r--test/004-InterfaceTest/src/Main.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/004-InterfaceTest/src/Main.java b/test/004-InterfaceTest/src/Main.java
index 9ebac59445..297cbb04f1 100644
--- a/test/004-InterfaceTest/src/Main.java
+++ b/test/004-InterfaceTest/src/Main.java
@@ -23,7 +23,7 @@ public class Main {
Integer intobj = new Integer(0);
String s = "asdf";
long start = System.currentTimeMillis();
- for (int i = 0; i < 1000000; i++) {
+ for (int i = 0; i < 10000; i++) {
map.put(intobj, s);
}
long end = System.currentTimeMillis();
@@ -34,7 +34,7 @@ public class Main {
Integer intobj = new Integer(0);
String s = "asdf";
long start = System.currentTimeMillis();
- for (int i = 0; i < 1000000; i++) {
+ for (int i = 0; i < 10000; i++) {
map.put(intobj, s);
}
long end = System.currentTimeMillis();