Mercurial > hg > graal-compiler
changeset 22609:805e5bdb291b
mx microbench: disable JVMCI classloader.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Wed, 09 Sep 2015 13:29:51 +0200 |
parents | bb887a437e5b |
children | 0d282ecc09ab |
files | mx.graal/mx_graal.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mx.graal/mx_graal.py Wed Sep 09 14:24:10 2015 +0200 +++ b/mx.graal/mx_graal.py Wed Sep 09 13:29:51 2015 +0200 @@ -144,6 +144,8 @@ def microbench(args): """run JMH microbenchmark projects""" vmArgs, jmhArgs = mx.extract_VM_args(args, useDoubleDash=True) + if isJVMCIEnabled(get_vm()) and '-XX:-UseJVMCIClassLoader' not in vmArgs: + vmArgs = ['-XX:-UseJVMCIClassLoader'] + vmArgs # look for -f in JMH arguments containsF = False