Mercurial > hg > graal-compiler
annotate GRAAL_README @ 3521:82266dbf5a5a
WIP : updated loop counter detection, added Basic and Derived induction variable framework
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 09 Aug 2011 18:53:11 +0200 |
parents | ea778c37bdae |
children | d8c27956ec6e |
rev | line source |
---|---|
2512 | 1 For creating a Graal VM JDK, the file jre\lib\jvm.cfg has to be modified such that it includes the line: |
2 -client KNOWN | |
3 | |
4 Before running the Graal VM, the following environment variables are needed: | |
5 - MAXINE: Pointing to a Maxine VM repository with compiled Java files. | |
6 - GRAAL: Pointing to a Graal VM repository with compiled Java files. | |
7 | |
3068
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
8 In particular, the VM will look for the compiled Java files in the following directories: |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
9 ${MAXINE}/com.oracle.max.cri/bin |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
10 ${MAXINE}/com.oracle.max.base/bin |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
11 ${MAXINE}/com.oracle.max.asmdis/bin |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
12 ${MAXINE}/com.oracle.max.asm/bin |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
13 ${MAXINE}/com.oracle.max.graal.graph/bin |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
14 ${GRAAL}/graal/com.oracle.max.graal.compiler/bin |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
15 ${GRAAL}/graal/com.oracle.max.graal.runtime/bin |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
16 ${GRAAL}/graal/com.oracle.max.graal.graphviz/bin |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
17 |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
18 For starting the Graal VM, the two flags "-client -graal" have to be specified. Additional flags that might be useful: |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
19 -G:Plot Sends the graphs of compiled methods via network stream to the IdealGraphVisualizer (NetBeans project at ${GRAAL}/src/share/tools/IdealGraphVisualizer that can be built and run with NetBeans 7.0, use "Graal Coloring" and "Graal Edge Coloring" filters) |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
20 -G:Time Prints timings for the different compilation phases |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
21 -G:Meter Prints metrics for the different compilation phases |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
22 |
ea778c37bdae
Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2512
diff
changeset
|
23 The usual HotSpot flags -Xcomp -XX:CompileOnly= -XX:CompileCommand= or -XX:+PrintCompilation can be used to control the compiled methods. |