Mercurial > hg > graal-jvmci-8
diff mx/mx_graal.py @ 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 | d676c4beeab8 |
children | 3f350b0d93c9 |
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: