# HG changeset patch # User Laurent Daynes # Date 1352471015 -3600 # Node ID 9611d0ccb4eca209006a32082d30785533889a30 # Parent a14a452cf1542b513a00e92a82a3198428d517d8 Automatically add -d64 vm options when running graal diff -r a14a452cf154 -r 9611d0ccb4ec mx/commands.py --- 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)