mx igv or mx gv commands

Doug Simon doug.simon at oracle.com
Tue Jul 2 23:37:25 PDT 2013


On Jul 3, 2013, at 1:25 AM, Christian Thalinger <christian.thalinger at oracle.com> wrote:

> 
> On Jul 2, 2013, at 4:16 PM, "Deneau, Tom" <tom.deneau at amd.com> wrote:
> 
>> I do see igv starting and waiting but it's not capturing anything.
>> My command line (after starting igv) is 
>> 
>> ./mx.sh --vm server unittest @-G:-RemoveNeverExecutedCode @-G:Log=InliningDecisions  @-G:+HotSpotPrintInlining -G:Dump= -G:MethodFilter=com.oracle.graal.compiler.hsail.test.StaticNBodyCallTest.run --J @-Xmx1g @-Xms1g --J @-Dsun.boot.library.path=$LD_LIBRARY_PATH   hsail.test.StaticNBodyCallTest 
> 
> @-G:Dump= ?

Yes, that means "dump everything" since the empty string matches the name of any dump scope.

The problem is that you are missing the '@' prefix in front of some of the options. Also you don't need the '--J' option as all '@' prefixed option are passed to the VM already. Your fixed up command line is:

./mx.sh --vm server unittest @-G:-RemoveNeverExecutedCode @-G:Log=InliningDecisions  @-G:+HotSpotPrintInlining @-G:Dump= @-G:MethodFilter=com.oracle.graal.compiler.hsail.test.StaticNBodyCallTest.run @-Xmx1g @-Xms1g @-Dsun.boot.library.path=$LD_LIBRARY_PATH hsail.test.StaticNBodyCallTest

-Doug

>> From: gilwooden at gmail.com [mailto:gilwooden at gmail.com] On Behalf Of Gilles Duboscq
>> Sent: Tuesday, July 02, 2013 6:01 PM
>> To: Christian Thalinger
>> Cc: Deneau, Tom; graal-dev at openjdk.java.net
>> Subject: Re: mx igv or mx gv commands
>> 
>> Which window manager do you use? I know that igv (netbeans) refuses to start with some window managers
>> 
>> On Wed, Jul 3, 2013 at 12:42 AM, Christian Thalinger <christian.thalinger at oracle.com> wrote:
>> 
>> On Jul 2, 2013, at 2:56 PM, "Deneau, Tom" <tom.deneau at amd.com> wrote:
>> 
>>> Christian --
>>> 
>>> What actual command lines should be used to view the graphs for an HSAIL compilation?
>> -G:Dump=
>> 
>> You can also use a method filter to only show what you want:
>> 
>> -G:MethodFilter=HashMap.put
>> 
>> It works when running a test inside Eclipse.
>> 
>> -- Chris
>> 
>>> Note that we typically run using --vm server.
>>> I would ask Vasanth but he is off this week.
>>> 
>>> -- Tom
>>> 
>>> 
>>> -----Original Message-----
>>> From: Christian Thalinger [mailto:christian.thalinger at oracle.com]
>>> Sent: Tuesday, July 02, 2013 3:49 PM
>>> To: Deneau, Tom
>>> Cc: graal-dev at openjdk.java.net
>>> Subject: Re: mx igv or mx gv commands
>>> 
>>> Which Java version are you using?  8 makes it crash, 7 should work.
>>> 
>>> -- Chris
>>> 
>>> On Jul 2, 2013, at 9:52 AM, "Deneau, Tom" <tom.deneau at amd.com> wrote:
>>> 
>>>> When I try to use
>>>> mx igv &
>>>> 
>>>> as described on the wiki page, I get the splash screen for the visualize but then it dies.
>>>> Similarly with mx gv &
>>>> 
>>>> Is there some other command that must be run first before using these?
>>>> 
>>>> -- Tom
>>>> 
>>> 
>>> 
>>> 
>> 
> 



More information about the graal-dev mailing list