Mercurial > hg > graal-jvmci-8
comparison mx.jvmci/mx_jvmci.py @ 23307:c75c5e73fd65
Deploy all JVM_{product,fastdebug}_{jvmci,server} variants.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Tue, 09 Feb 2016 17:47:27 +0100 |
parents | 93caf66f5604 |
children | b9114ca0c174 |
comparison
equal
deleted
inserted
replaced
23306:7b09dede4552 | 23307:c75c5e73fd65 |
---|---|
1674 # mx.findclass can be mistaken, don't give up yet | 1674 # mx.findclass can be mistaken, don't give up yet |
1675 candidates = args | 1675 candidates = args |
1676 | 1676 |
1677 run_vm(['-javaagent:' + joljar, '-cp', os.pathsep.join([mx.classpath(), joljar]), "org.openjdk.jol.MainObjectInternals"] + candidates) | 1677 run_vm(['-javaagent:' + joljar, '-cp', os.pathsep.join([mx.classpath(), joljar]), "org.openjdk.jol.MainObjectInternals"] + candidates) |
1678 | 1678 |
1679 def deploy_binary(args): | |
1680 for vmbuild in ['product', 'fastdebug']: | |
1681 for vm in ['jvmci', 'server']: | |
1682 if vmbuild != _vmbuild and vm != get_vm(): | |
1683 mx.instantiateDistribution('JVM_<vmbuild>_<vm>', dict(vmbuild=vmbuild, vm=vm)) | |
1684 mx.deploy_binary(args) | |
1685 | |
1679 mx.update_commands(_suite, { | 1686 mx.update_commands(_suite, { |
1680 'build': [build, ''], | 1687 'build': [build, ''], |
1681 'buildjmh': [buildjmh, '[-options]'], | 1688 'buildjmh': [buildjmh, '[-options]'], |
1682 'buildvars': [buildvars, ''], | 1689 'buildvars': [buildvars, ''], |
1683 'buildvms': [buildvms, '[-options]'], | 1690 'buildvms': [buildvms, '[-options]'], |
1684 'c1visualizer' : [c1visualizer, ''], | 1691 'c1visualizer' : [c1visualizer, ''], |
1692 'deploy-binary' : [deploy_binary, ''], | |
1685 'export': [export, '[-options] [zipfile]'], | 1693 'export': [export, '[-options] [zipfile]'], |
1686 'hsdis': [hsdis, '[att]'], | 1694 'hsdis': [hsdis, '[att]'], |
1687 'hcfdis': [hcfdis, ''], | 1695 'hcfdis': [hcfdis, ''], |
1688 'igv' : [igv, ''], | 1696 'igv' : [igv, ''], |
1689 'jdkhome': [print_jdkhome, ''], | 1697 'jdkhome': [print_jdkhome, ''], |