OSDN Git Service

Reduce the number of dumps in 130-hprof.
authorHiroshi Yamauchi <yamauchi@google.com>
Fri, 21 Oct 2016 20:07:18 +0000 (13:07 -0700)
committerHiroshi Yamauchi <yamauchi@google.com>
Fri, 21 Oct 2016 20:07:18 +0000 (13:07 -0700)
To avoid timeouts.

Test: test-art-host with ART_TEST_TRACE=true.
Change-Id: I849007b94341f4851c11a8896889f9e2ce851a86

test/130-hprof/src/Main.java

index c04bb86..5899dd1 100644 (file)
@@ -166,7 +166,7 @@ public class Main {
         }
         Allocator allocator;
         public void run() {
-            for (int i = 0; i < 10; ++i) {
+            for (int i = 0; i < 5; ++i) {
                 Main.sleep(1000L);
                 createDumpAndConv();
             }