Debugging Graal on JDK 9

Doug Simon doug.simon at oracle.com
Wed Oct 19 13:17:06 UTC 2016


> On 19 Oct 2016, at 15:11, Andrew Haley <aph at redhat.com> wrote:
> 
> On 19/10/16 14:06, Doug Simon wrote:
>> The way I do it is to launch via mx with the -d option. For example:
>> 
>> dsimon at kurz ~/h/graal-core> mx -d vm -XX:+BootstrapJVMCI -XX:+UseJVMCICompiler -version
>> Listening for transport dt_socket at address: 8000
> 
> ... but this launches JDK 8.  I don't know how to make "mx vm" use a
> different VM.

mx --java-home /path/to/jdk-9 ...

or:

env JAVA_HOME=/path/to/jdk-9 mx ...

-Doug

> 
> Thanks,
> 
> Andrew.
> 



More information about the graal-dev mailing list