Mercurial > hg > graal-jvmci-8
comparison README_GRAAL.txt @ 5182:70aaaa83b93a
fixed gcc warning; added note to README_GRAAL about disabling the bootstrap step
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 02 Apr 2012 12:19:18 +0200 |
parents | b97ef124c3ea |
children | a89a18a57617 |
comparison
equal
deleted
inserted
replaced
5181:b97ef124c3ea | 5182:70aaaa83b93a |
---|---|
1 Building Graal | |
2 -------------- | |
1 There is a Python script in graal/mxtool/mx.py that simplifies working with the code | 3 There is a Python script in graal/mxtool/mx.py that simplifies working with the code |
2 base. It requires Python 2.7. While you can run this script by using an absolute path, | 4 base. It requires Python 2.7. While you can run this script by using an absolute path, |
3 it's more convenient to add graal/mxtool to your PATH environment variable so that the | 5 it's more convenient to add graal/mxtool to your PATH environment variable so that the |
4 'mx' helper script can be used. The following instructions in this file assume this | 6 'mx' helper script can be used. The following instructions in this file assume this |
5 setup. | 7 setup. |
13 To build the debug or fastdebug versions: | 15 To build the debug or fastdebug versions: |
14 | 16 |
15 mx build debug | 17 mx build debug |
16 mx build fastdebug | 18 mx build fastdebug |
17 | 19 |
18 To run one of the correspong VM instances: | 20 Running Graal |
21 ------------- | |
19 | 22 |
20 mx --product vm ... | 23 To run the VM, use 'mx vm' in place of the standard 'java' command: |
24 | |
25 mx vm ... | |
26 | |
27 To select the fastdebug or debug versions of the VM: | |
28 | |
21 mx --fastdebug vm ... | 29 mx --fastdebug vm ... |
22 mx --debug vm ... | 30 mx --debug vm ... |
23 | 31 |
24 The default is --product. | 32 Graal has an optional bootstrap step where it compiles itself before |
33 compiling any application code. This bootstrap step currently takes about 7 seconds | |
34 on a fast x64 machine. It's useful to disable this bootstrap step when running small | |
35 programs with the -XX:-BootstrapGraal options. For example: | |
36 | |
37 mx vm -XX:-BootstrapGraal ... |