comparison mx/commands.py @ 5032:e2de9649f0a9

Integrated mxtool updates from Maxine project.
author Doug Simon <doug.simon@oracle.com>
date Tue, 06 Mar 2012 12:09:50 +0100
parents 7ccdae96e98a
children d7ecce178ad2
comparison
equal deleted inserted replaced
5031:4d152e5e34ba 5032:e2de9649f0a9
482 if vm is None: 482 if vm is None:
483 vm = _vm 483 vm = _vm
484 484
485 build = vmbuild if vmbuild is not None else _vmbuild if _vmSourcesAvailable else 'product' 485 build = vmbuild if vmbuild is not None else _vmbuild if _vmSourcesAvailable else 'product'
486 mx.expand_project_in_args(args) 486 mx.expand_project_in_args(args)
487 if mx.java().debug: 487 if mx.java().debug_port is not None:
488 args = ['-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000'] + args 488 args = ['-Xdebug', '-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=' + str(mx.java().debug_port)] + args
489 if _jacoco == 'on' or _jacoco == 'append': 489 if _jacoco == 'on' or _jacoco == 'append':
490 jacocoagent = mx.library("JACOCOAGENT", True) 490 jacocoagent = mx.library("JACOCOAGENT", True)
491 agentOptions = { 491 agentOptions = {
492 'append' : 'true' if _jacoco == 'append' else 'false', 492 'append' : 'true' if _jacoco == 'append' else 'false',
493 'bootclasspath' : 'true', 493 'bootclasspath' : 'true',