comparison GRAAL_README @ 3545:d8c27956ec6e

Updated graal readme.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Sat, 13 Aug 2011 18:21:33 +0200
parents ea778c37bdae
children
comparison
equal deleted inserted replaced
3544:622bbc9dafbd 3545:d8c27956ec6e
1 For creating a Graal VM JDK, the file jre\lib\jvm.cfg has to be modified such that it includes the line: 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 2 -graal KNOWN
3 3
4 Before running the Graal VM, the following environment variables are needed: 4 Before running the Graal VM, the following environment variables is needed:
5 - MAXINE: Pointing to a Maxine VM repository with compiled Java files. 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 6
8 In particular, the VM will look for the compiled Java files in the following directories: 7 In particular, the VM will look for the compiled Java files in the following directories:
9 ${MAXINE}/com.oracle.max.cri/bin 8 ${MAXINE}/com.oracle.max.cri/bin
10 ${MAXINE}/com.oracle.max.base/bin 9 ${MAXINE}/com.oracle.max.base/bin
11 ${MAXINE}/com.oracle.max.asmdis/bin 10 ${MAXINE}/com.oracle.max.asmdis/bin
12 ${MAXINE}/com.oracle.max.asm/bin 11 ${MAXINE}/com.oracle.max.asm/bin
13 ${MAXINE}/com.oracle.max.graal.graph/bin 12 ${MAXINE}/com.oracle.max.graal.graph/bin
14 ${GRAAL}/graal/com.oracle.max.graal.compiler/bin 13 ${MAXINE}/com.oracle.max.graal.compiler/bin
15 ${GRAAL}/graal/com.oracle.max.graal.runtime/bin 14 ${MAXINE}/com.oracle.max.graal.nodes/bin
16 ${GRAAL}/graal/com.oracle.max.graal.graphviz/bin 15 ${MAXINE}/com.oracle.max.graal.extensions/bin
16 ${MAXINE}/com.oracle.max.graal.runtime/bin
17 ${MAXINE}/com.oracle.max.graal.graphviz/bin
17 18
18 For starting the Graal VM, the two flags "-client -graal" have to be specified. Additional flags that might be useful: 19 For starting the Graal VM, the flag "-graal" has to be specified. Additional flags that might be useful:
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) 20 -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)
20 -G:Time Prints timings for the different compilation phases 21 -G:Time Prints timings for the different compilation phases
21 -G:Meter Prints metrics for the different compilation phases 22 -G:Meter Prints metrics for the different compilation phases
22 23
23 The usual HotSpot flags -Xcomp -XX:CompileOnly= -XX:CompileCommand= or -XX:+PrintCompilation can be used to control the compiled methods. 24 The usual HotSpot flags -Xcomp -XX:CompileOnly= -XX:CompileCommand= or -XX:+PrintCompilation can be used to control the compiled methods.