How to inspect hotspot compiler results? hsdis binaries for Windows?
John.Rose at Sun.COM
Tue Nov 17 16:31:36 PST 2009
On Nov 17, 2009, at 3:09 PM, Ulf Zibis wrote:
> According to http://wikis.sun.com/display/HotSpotInternals/PrintAssembly, the hsdis plugin seems to be only available for MacOS and Solaris.
> Is there any chance to get such a plugin for Windows or at least for Linux?
Since base-hsdis is just free-floating open source, not backed by any engineering resources, the best way to get the plugin for your platform of choice is to convince someone (maybe yourself!) to build it, and then persuade them to contribute the binary back as a project download.
The Mac version is there because I use Mac and when I built the binary I uploaded it for others to benefit from. Likewise the Solaris version is there because Christian uses Solaris on his laptop.
If it would help, I would be glad to make you a committer on the base-hsdis project. (You too, Dennis, if you want to add options to tweak the disassembly display.)
> @ John: On your wiki page you mention hsdis DLL and libjvm.so in same line.
> How should I understand this? DLL normally is for Windows, but *.so for solaris.
HotSpot uses DLLs on Windows and shared libraries elsewhere, but we don't think of them as different. Please, feel free to edit the wiki page for clarity or to fill in missing information.
> Any help would be greatly appreciated, thank you in advance.
No magic bullets here, but I hope the source code will be useful.
More information about the hotspot-dev