annotate GRAAL_README @ 4585:c47ca28d164a

Create exception dispatch even if catch type is not initialized yet. Previously, when there were multiple exception handlers, and an uninitialized catch type was preceding another (initialized) catch type, no exception dispatch would be created. This could lead to a deopt every time one of the later exceptions was thrown.
author Andreas Woess <andreas.woess@jku.at>
date Mon, 13 Feb 2012 23:47:06 +0100
parents d8c27956ec6e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2512
7f44417fb32f Added README.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
1 For creating a Graal VM JDK, the file jre\lib\jvm.cfg has to be modified such that it includes the line:
3545
d8c27956ec6e Updated graal readme.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3068
diff changeset
2 -graal KNOWN
2512
7f44417fb32f Added README.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
3
3545
d8c27956ec6e Updated graal readme.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3068
diff changeset
4 Before running the Graal VM, the following environment variables is needed:
2512
7f44417fb32f Added README.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
5 - MAXINE: Pointing to a Maxine VM repository with compiled Java files.
7f44417fb32f Added README.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff changeset
6
3068
ea778c37bdae Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2512
diff changeset
7 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
8 ${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
9 ${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
10 ${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
11 ${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
12 ${MAXINE}/com.oracle.max.graal.graph/bin
3545
d8c27956ec6e Updated graal readme.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3068
diff changeset
13 ${MAXINE}/com.oracle.max.graal.compiler/bin
d8c27956ec6e Updated graal readme.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3068
diff changeset
14 ${MAXINE}/com.oracle.max.graal.nodes/bin
d8c27956ec6e Updated graal readme.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3068
diff changeset
15 ${MAXINE}/com.oracle.max.graal.extensions/bin
d8c27956ec6e Updated graal readme.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3068
diff changeset
16 ${MAXINE}/com.oracle.max.graal.runtime/bin
d8c27956ec6e Updated graal readme.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3068
diff changeset
17 ${MAXINE}/com.oracle.max.graal.graphviz/bin
3068
ea778c37bdae Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2512
diff changeset
18
3545
d8c27956ec6e Updated graal readme.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 3068
diff changeset
19 For starting the Graal VM, the flag "-graal" has to be specified. Additional flags that might be useful:
3068
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: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
21 -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
22 -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
23
ea778c37bdae Updated GRAAL_README. Add new short-cut flag for graph output "-G:Plot".
Thomas Wuerthinger <thomas@wuerthinger.net>
parents: 2512
diff changeset
24 The usual HotSpot flags -Xcomp -XX:CompileOnly= -XX:CompileCommand= or -XX:+PrintCompilation can be used to control the compiled methods.