IdealGraphVisualizer file compatibility
christian.thalinger at oracle.com
Wed Aug 3 09:40:45 PDT 2011
You need a debug build. -- Christian
On Aug 3, 2011, at 6:37 PM, 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?
> 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:
>> -- Christian
>> On Aug 3, 2011, at 4:17 PM, Joe Kearney wrote:
>>> I've been trying to play with igv from
>>> 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
>>> -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.
>>> 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,
More information about the hotspot-compiler-dev