Running jcstress

Doug Simon doug.simon at oracle.com
Thu Nov 17 14:21:47 UTC 2016


Something like this should work:

mx vm -XX:+UseJVMCICompiler -jar $HOME/jcstress/tests-custom/target/jcstress.jar

To double check that Graal is compiling the relevant methods:

mx vm -XX:+UseJVMCICompiler -Dgraal.PrintCompilation=true -jar $HOME/jcstress/tests-custom/target/jcstress.jar

And, as always, to see the java launcher command being issued by mx, use the -v option:

mx -v vm -XX:+UseJVMCICompiler -jar $HOME/jcstress/tests-custom/target/jcstress.jar

-Doug

> On 17 Nov 2016, at 14:32, Andrew Haley <aph at redhat.com> wrote:
> 
> How do you run jcstress with Graal?  I have no way to know if the Graal-
> generated code is actually being tested.
> 
> Thanks,
> 
> Andrew.



More information about the graal-dev mailing list