changeset 5862:44eb34b54526

removed the unreliable 'intro' command
author Doug Simon <doug.simon@oracle.com>
date Fri, 20 Jul 2012 12:54:02 +0200
parents 1cb45c7dba55
children 576460f7e740
files mx/commands.py
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/mx/commands.py	Thu Jul 19 14:54:33 2012 +0200
+++ b/mx/commands.py	Fri Jul 20 12:54:02 2012 +0200
@@ -221,18 +221,6 @@
     if len(failed) != 0:
         mx.abort('DaCapo failures: ' + str(failed))
 
-def intro(args):
-    """run a simple program and visualize its compilation in the Graal Visualizer"""
-    # Start the visualizer in a separate thread
-    t = Thread(target=gv, args=([[]]))
-    t.start()
-
-    # Give visualizer time to start
-    mx.log('Waiting 5 seconds for visualizer to start')
-    time.sleep(5)
-
-    vm(['-G:Dump=', '-G:MethodFilter=greet', '-Xcomp', '-XX:CompileOnly=HelloWorld::greet', '-cp', mx.classpath('com.oracle.graal.examples')] + args + ['examples.HelloWorld'])
-
 def scaladacapo(args):
     """run one or all Scala DaCapo benchmarks
 
@@ -991,7 +979,6 @@
         'hsdis': [hsdis, '[att]'],
         'hcfdis': [hcfdis, ''],
         'igv' : [igv, ''],
-        'intro': [intro, ''],
         'jdkhome': [jdkhome, ''],
         'dacapo': [dacapo, '[[n] benchmark] [VM options|@DaCapo options]'],
         'scaladacapo': [scaladacapo, '[[n] benchmark] [VM options|@Scala DaCapo options]'],