changeset 1153:7f5b4d3188ec

jmh-core-it: update stress tests for 7901332 (host VM footprint)
author shade
date Wed, 11 Mar 2015 02:02:19 +0300
parents 6b290f26e637
children 68c86695196a
files jmh-core-it/pom.xml jmh-core-it/src/test/java/org/openjdk/jmh/it/footprint/ForkedFootprintTest.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core-it/pom.xml	Wed Mar 11 01:25:03 2015 +0300
+++ b/jmh-core-it/pom.xml	Wed Mar 11 02:02:19 2015 +0300
@@ -73,7 +73,7 @@
                 <version>2.14.1</version>
                 <configuration>
                     <!-- Integration tests are not measuring performance, OK to run them concurrently -->
-                    <argLine>-Djmh.ignoreLock=true</argLine>
+                    <argLine>-Djmh.ignoreLock=true -Xms256m -Xmx256m</argLine>
                     <forkCount>1C</forkCount>
                     <reuseForks>true</reuseForks>
                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
--- a/jmh-core-it/src/test/java/org/openjdk/jmh/it/footprint/ForkedFootprintTest.java	Wed Mar 11 01:25:03 2015 +0300
+++ b/jmh-core-it/src/test/java/org/openjdk/jmh/it/footprint/ForkedFootprintTest.java	Wed Mar 11 02:02:19 2015 +0300
@@ -50,7 +50,7 @@
                     .include(Fixtures.getTestMask(this.getClass()))
                     .mode(mode)
                     .shouldFailOnError(true)
-                    .measurementIterations(mode == Mode.SingleShotTime ? 50000 : 1000)
+                    .measurementIterations(mode == Mode.SingleShotTime ? 500000 : 1000)
                     .measurementTime(TimeValue.milliseconds(5))
                     .warmupIterations(0)
                     .forks(1)