changeset 16002:c60362c5150f

mx: Use -XX:-DisableExplicitGC when running unit tests with --gc-after-test.
author Roland Schatz <roland.schatz@oracle.com>
date Tue, 03 Jun 2014 10:52:22 +0200
parents c55559b7824d
children 83433cf49019
files mx/mx_graal.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mx/mx_graal.py	Tue Jun 03 10:04:51 2014 +0200
+++ b/mx/mx_graal.py	Tue Jun 03 10:52:22 2014 +0200
@@ -1002,6 +1002,8 @@
             prefixArgs = ['-esa', '-ea']
         else:
             prefixArgs = ['-XX:-BootstrapGraal', '-esa', '-ea']
+        if gc_after_test:
+            prefixArgs.append('-XX:-DisableExplicitGC')
         with open(testfile) as fp:
             testclasses = [l.rstrip() for l in fp.readlines()]
         if len(testclasses) == 1: