Mercurial > hg > truffle
comparison mx/mx_graal.py @ 17411:6d82c240d83e
use -G:CompileTheWorldClasspath instead of -Xbootclasspath/p when doing Graal CTW on a Graal enabled VM
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 10 Oct 2014 11:33:48 +0200 |
parents | 9c241dc74cfc |
children | d65ca887868d |
comparison
equal
deleted
inserted
replaced
17410:c58171f94377 | 17411:6d82c240d83e |
---|---|
1373 jar = os.path.abspath(args.jar) | 1373 jar = os.path.abspath(args.jar) |
1374 else: | 1374 else: |
1375 jar = join(_jdk(installJars=False), 'jre', 'lib', 'rt.jar') | 1375 jar = join(_jdk(installJars=False), 'jre', 'lib', 'rt.jar') |
1376 | 1376 |
1377 vmargs += ['-XX:+CompileTheWorld'] | 1377 vmargs += ['-XX:+CompileTheWorld'] |
1378 if _get_vm() == 'graal': | 1378 vm_ = _get_vm() |
1379 vmargs += ['-XX:+BootstrapGraal', '-G:CompileTheWorldClasspath=' + jar] | 1379 if isGraalEnabled(vm_): |
1380 if vm_ == 'graal': | |
1381 vmargs += ['-XX:+BootstrapGraal'] | |
1382 vmargs += ['-G:CompileTheWorldClasspath=' + jar] | |
1380 else: | 1383 else: |
1381 vmargs += ['-Xbootclasspath/p:' + jar] | 1384 vmargs += ['-Xbootclasspath/p:' + jar] |
1382 vm(vmargs) | 1385 vm(vmargs) |
1383 | 1386 |
1384 def _basic_gate_body(args, tasks): | 1387 def _basic_gate_body(args, tasks): |