Mercurial > hg > graal-jvmci-8
comparison mx/mx_graal.py @ 20967:f61ff7f01bc2
Add CompileTheWorldExcludeMethodFilter to CTW and remove sun.awt.X11 classes from default ctw mx target.
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Wed, 15 Apr 2015 16:30:45 +0200 |
parents | 10766b486cbb |
children | 4213d02d95b5 0a4bbeae6e31 |
comparison
equal
deleted
inserted
replaced
20966:05a2b72c071f | 20967:f61ff7f01bc2 |
---|---|
1480 | 1480 |
1481 if args.jar: | 1481 if args.jar: |
1482 jar = os.path.abspath(args.jar) | 1482 jar = os.path.abspath(args.jar) |
1483 else: | 1483 else: |
1484 jar = join(_jdk(installJars=False), 'jre', 'lib', 'rt.jar') | 1484 jar = join(_jdk(installJars=False), 'jre', 'lib', 'rt.jar') |
1485 vmargs.append('-G:CompileTheWorldExcludeMethodFilter=sun.awt.X11.*.*') | |
1485 | 1486 |
1486 vmargs += ['-XX:+CompileTheWorld'] | 1487 vmargs += ['-XX:+CompileTheWorld'] |
1487 vm_ = _get_vm() | 1488 vm_ = _get_vm() |
1488 if isGraalEnabled(vm_): | 1489 if isGraalEnabled(vm_): |
1489 if vm_ == 'graal': | 1490 if vm_ == 'graal': |
1490 vmargs += ['-XX:+BootstrapGraal'] | 1491 vmargs += ['-XX:+BootstrapGraal'] |
1491 vmargs += ['-G:CompileTheWorldClasspath=' + jar] | 1492 vmargs += ['-G:CompileTheWorldClasspath=' + jar] |
1492 else: | 1493 else: |
1493 vmargs += ['-Xbootclasspath/p:' + jar] | 1494 vmargs += ['-Xbootclasspath/p:' + jar] |
1494 | 1495 |
1495 # suppress menubar and dock when running on Mac | 1496 # suppress menubar and dock when running on Mac; exclude x11 classes as they may cause vm crashes (on Solaris) |
1496 vmargs = ['-Djava.awt.headless=true'] + vmargs | 1497 vmargs = ['-Djava.awt.headless=true'] + vmargs |
1497 | 1498 |
1498 vm(vmargs) | 1499 vm(vmargs) |
1499 | 1500 |
1500 def _basic_gate_body(args, tasks): | 1501 def _basic_gate_body(args, tasks): |