Mercurial > hg > graal-jvmci-8
diff mx/commands.py @ 6691:9611d0ccb4ec
Automatically add -d64 vm options when running graal
author | Laurent Daynes <Laurent.Daynes@oracle.com> |
---|---|
date | Fri, 09 Nov 2012 15:23:35 +0100 |
parents | 806821a1c0a8 |
children | 6d1870a7554a |
line wrap: on
line diff
--- a/mx/commands.py Fri Nov 09 13:35:26 2012 +0100 +++ b/mx/commands.py Fri Nov 09 15:23:35 2012 +0100 @@ -621,6 +621,9 @@ 'destfile' : 'jacoco.exec' } args = ['-javaagent:' + jacocoagent.get_path(True) + '=' + ','.join([k + '=' + v for k, v in agentOptions.items()])] + args + if '-d64' not in args: + args = ['-d64'] + args + print ['args = '] + args exe = join(jdk, 'bin', mx.exe_suffix('java')) dbg = _native_dbg.split() if _native_dbg is not None else [] return mx.run(dbg + [exe, '-' + vm] + args, nonZeroIsFatal=nonZeroIsFatal, out=out, err=err, cwd=cwd, timeout=timeout)