##背景
最近想学习下Hotspot的JIT,查找大量资料都说需要hsdis,但是又从哪都找不到windows64位的版本。
如果没有这个东西,直接运行代码,加上如下参数后
-XX:+UnlockDiagnosticVMOptions -XX:+PrintAssembly
会得到如下提示
Java HotSpot(TM) 64-Bit Server VM warning: PrintAssembly is enabled; turning on DebugNonSafepoints to gain additional output Could not load hsdis-amd64.dll; library not loadable; PrintAssembly is disabled
。。。。。。
看来确实是需要hsdis-amd64.dll这个东西的。[下载]
20190515更新:
几年不见,下载积分从1分被系统涨到了44分,简直抢钱!我自己都改不了!所以又在度盘传了一份,大家自取 [链接] 密码deh4
##动手
无意中翻到了一个网站:How to build hsdis-amd64.dll and hsdis-i386.dll on Windows
内容如下:
How to build hsdis-amd64.dll and hsdis-i386.dll on Windows