changeset 25:2dec45c6dfc0

harness: remove explicit System.gc()-s.
author shade
date Tue, 09 Jul 2013 16:32:19 +0400
parents d65dce40f0c6
children 6c339a5aa00d
files harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor1_Runner.java harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor2_Arbiter1_Runner.java harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor2_Runner.java harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor3_Runner.java harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor4_Runner.java harness/src/main/java/org/openjdk/jcstress/infra/runners/TerminationRunner.java
diffstat 6 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor1_Runner.java	Tue Jul 09 15:36:23 2013 +0400
+++ b/harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor1_Runner.java	Tue Jul 09 16:32:19 2013 +0400
@@ -79,8 +79,6 @@
             Counter<R> runResult = run(time);
 
             dump(test, runResult);
-
-            System.gc();
         }
         testLog.println();
     }
--- a/harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor2_Arbiter1_Runner.java	Tue Jul 09 15:36:23 2013 +0400
+++ b/harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor2_Arbiter1_Runner.java	Tue Jul 09 16:32:19 2013 +0400
@@ -71,8 +71,6 @@
             Counter<R> runResult = run(time);
 
             dump(test, runResult);
-
-            System.gc();
         }
 
         testLog.println();
--- a/harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor2_Runner.java	Tue Jul 09 15:36:23 2013 +0400
+++ b/harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor2_Runner.java	Tue Jul 09 16:32:19 2013 +0400
@@ -79,8 +79,6 @@
             Counter<R> runResult = run(time);
 
             dump(test, runResult);
-
-            System.gc();
         }
         testLog.println();
     }
--- a/harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor3_Runner.java	Tue Jul 09 15:36:23 2013 +0400
+++ b/harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor3_Runner.java	Tue Jul 09 16:32:19 2013 +0400
@@ -79,8 +79,6 @@
             Counter<R> runResult = run(time);
 
             dump(test, runResult);
-
-            System.gc();
         }
         testLog.println();
     }
--- a/harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor4_Runner.java	Tue Jul 09 15:36:23 2013 +0400
+++ b/harness/src/main/java/org/openjdk/jcstress/infra/runners/Actor4_Runner.java	Tue Jul 09 16:32:19 2013 +0400
@@ -79,8 +79,6 @@
             Counter<R> runResult = run(time);
 
             dump(test, runResult);
-
-            System.gc();
         }
         testLog.println();
     }
--- a/harness/src/main/java/org/openjdk/jcstress/infra/runners/TerminationRunner.java	Tue Jul 09 15:36:23 2013 +0400
+++ b/harness/src/main/java/org/openjdk/jcstress/infra/runners/TerminationRunner.java	Tue Jul 09 16:32:19 2013 +0400
@@ -72,8 +72,6 @@
                 warn("Have stale threads, forcing VM to exit");
                 hardExit();
             }
-
-            System.gc();
         }
         testLog.println();
     }