IdealGraphVisualizer file compatibility
Tom Rodriguez
tom.rodriguez at oracle.com
Wed Aug 10 12:52:28 PDT 2011
On Aug 3, 2011, at 10:00 AM, Joe Kearney wrote:
> Oh ok, I didn't realise. Thanks. Are there any plans to make it more
> widely available? I can see it being useful for experimenting to
> squeeze performance.
We don't have any current plans. We've tended not to include developer specific features in the product binary, mainly to avoid making an already large library even larger. Admittedly IGV support is pretty small code size wise.
tom
>
> Thanks,
> Joe
>
> On 3 August 2011 17:42, Tom Rodriguez <tom.rodriguez at oracle.com> wrote:
>> It's not available in the product as it's really intended for developers. Use a fastdebug build.
>>
>> tom
>>
>> On Aug 3, 2011, at 9:37 AM, Joe Kearney wrote:
>>
>>> Ah, thanks for the readme link.
>>>
>>> I can't get hotspot 1.6.0_25 or 1.7.0 to recognise the
>>> PrintIdealGraphLevel/PrintIdealGraphFile options. I tried with
>>> UnlockDiagnosticVMOptions etc as well. to no avail. Is there something
>>> else needed to expose this?
>>>
>>> Joe
>>>
>>> On 3 August 2011 15:51, Christian Thalinger
>>> <christian.thalinger at oracle.com> wrote:
>>>> You want: -XX:PrintIdealGraphLevel=1 -XX:PrintIdealGraphFile=output.xml
>>>>
>>>> The README of the visualizer also helps:
>>>>
>>>> http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/file/tip/src/share/tools/IdealGraphVisualizer/README
>>>>
>>>> -- Christian
>>>>
>>>> On Aug 3, 2011, at 4:17 PM, Joe Kearney wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I've been trying to play with igv from
>>>>> http://ssw.jku.at/General/Staff/TW/igv.html,
>>>>> http://ssw.jku.at/General/Staff/PH/ but I don't know how to generate
>>>>> the required log files. What sort of files should I expect the igv to
>>>>> be able to read? The example files are graphDocument XMLs. I was
>>>>> hoping to be able to generate a file with something like the
>>>>> following:
>>>>>
>>>>> -XX:+UnlockDiagnosticVMOptions -XX:+LogCompilation -XX:LogFile=output.xml
>>>>>
>>>>> Needless to say, these hotspot_log files are totally different and the
>>>>> igv barfs with the below.
>>>>>
>>>>> java.lang.NullPointerException
>>>>> at com.sun.hotspot.igv.data.GraphDocument.addGraphDocument(GraphDocument.java:70)
>>>>> at com.sun.hotspot.igv.coordinator.actions.ImportAction$3.run(ImportAction.java:128)
>>>>> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
>>>>> [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
>>>>>
>>>>>
>>>>> How do I get the jvm to generate the right output file?
>>>>>
>>>>> Many thanks,
>>>>> Joe
>>>>
>>>>
>>
>>
More information about the hotspot-compiler-dev
mailing list