Using Graal without mx
Doug Simon
doug.simon at oracle.com
Wed Nov 4 16:37:29 UTC 2015
Using the output of mx -v is already the recommended way of doing what you want in terms of running a Graal enabled VM. For building the VM without mx, the 'mx build --no-java' command will print the equivalent make command you can use.
Sent from my iPhone
> On Nov 4, 2015, at 5:08 PM, Tim Harris <timothy.l.harris at oracle.com> wrote:
>
> Hi,
>
>
>
> I am working on a Java version of our parallel runtime system work (https://timharris.uk/papers/2015-atc-callisto.pdf). I am using Graal with HotSpot to enable use of GNFI in place of JNI for calls into the C++ runtime system library. I want to build the runtime system and Java test cases with our existing build system (rather than changing to use "mx" for everything).
>
>
>
> My current plan is to have a separate Graal build tree and to pass the location in to the Callisto-RTS build system.
>
>
>
> Is there already a recommended way for using Graal in this manner without using "mx"? Right now I am looking at the command lines from "mx -v" and picking out the parameters that look relevant. E.g., to run my test case java_perf02:
>
>
>
> /home_bunch/tlharris/graal-new/graal/jvmci/jdk1.8.0_20/product/bin/java -jvmci -d64 -Djvmci.compiler=graal -Xbootclasspath/p:/home_bunch/tlharris/graal-new/graal/truffle/mxbuild/dists/truffle-api.jar -XX:-UseJVMCIClassLoader -cp ../obj_x64_gcc/test:../obj_x64_gcc/rts.jar java_perf02
>
>
>
> --Tim
>
>
>
>
>
>
More information about the graal-dev
mailing list