IdealGraphVisualizer file compatibility
Christian Thalinger
christian.thalinger at oracle.com
Wed Aug 3 07:51:06 PDT 2011
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