How to use igv?

Doug Simon doug.simon at oracle.com
Fri Jun 19 09:45:17 UTC 2015


> On Jun 19, 2015, at 8:17 AM, Manas Thakur <manasthakur17 at gmail.com> wrote:
> 
> Hello all
> 
> I downloaded graal and am able to visualize the String.hashCode from the GraalTutorial file.
> 
> /mx.sh unittest -G:Dump= -G:MethodFilter=String.hashCode GraalTutorial#testStringHashCode 
> 
> How can I do the same for any other of a class that I am running with ./mx.sh vm ?
> 
> To elaborate, say I have a file “Temp.java” containing a method “foo()”. What should I do to visualise its compilation?

The format for the MethodFilter option is described here:

http://lafo.ssw.uni-linz.ac.at/javadoc/graalvm/all/com/oracle/jvmci/debug/MethodFilter.html

In your example, you want -G:MethodFilter=Temp.foo. Of course, you’ll only see a visualization if the method is actually compiled by Graal.

-Doug


More information about the graal-dev mailing list