Mercurial > hg > graal-compiler
diff mx.graal/mx_graal.py @ 22503:c74d7f8a8ee6
Use Java based CTW command
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 24 Aug 2015 23:50:37 -0700 |
parents | c9410ab830e0 |
children | fadc7a67e4a7 |
line wrap: on
line diff
--- a/mx.graal/mx_graal.py Mon Aug 24 23:07:36 2015 +0200 +++ b/mx.graal/mx_graal.py Mon Aug 24 23:50:37 2015 -0700 @@ -200,17 +200,16 @@ jar = join(get_jvmci_jdk(installJars=False), 'jre', 'lib', 'rt.jar') vmargs.append('-G:CompileTheWorldExcludeMethodFilter=sun.awt.X11.*.*') - vmargs += ['-XX:+CompileTheWorld'] + # suppress menubar and dock when running on Mac; exclude x11 classes as they may cause vm crashes (on Solaris) + vmargs = ['-Djava.awt.headless=true'] + vmargs + vm_ = get_vm() if isJVMCIEnabled(vm_): if vm_ == 'jvmci': vmargs += ['-XX:+BootstrapJVMCI'] - vmargs += ['-G:CompileTheWorldClasspath=' + jar] + vmargs += ['-G:CompileTheWorldClasspath=' + jar, '-XX:-UseJVMCIClassLoader', 'jdk.internal.jvmci.hotspot.CompileTheWorldMain'] else: - vmargs += ['-Xbootclasspath/p:' + jar] - - # suppress menubar and dock when running on Mac; exclude x11 classes as they may cause vm crashes (on Solaris) - vmargs = ['-Djava.awt.headless=true'] + vmargs + vmargs += ['-XX:+CompileTheWorld', '-Xbootclasspath/p:' + jar] vm(vmargs)