How to use igv?

Manas Thakur manasthakur17 at gmail.com
Fri Jun 19 10:07:51 UTC 2015


Thanks Doug; it worked.

Regards,
Manas


> On 19-Jun-2015, at 3:15 pm, Doug Simon <doug.simon at oracle.com> wrote:
> 
> 
>> 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