disassembler output in hs-err?
Aleksey Shipilev
shade at redhat.com
Wed Nov 22 08:21:26 UTC 2017
On 11/22/2017 09:17 AM, Thomas Stüfe wrote:
> I keep forgetting, how can I get disassembled output in an hs-err file for
> the instructions at the crash point? All I have is a hex dump.
>
> I'm on Linux x64 (ubuntu 16.4)
IIRC, you "just" need to have hsdis in your build. I have this handy alias:
$ alias hsdis='cp ~/Install/libhsdis-amd64.so jre/lib/amd64/server/libhsdis-amd64.so; cp
~/Install/libhsdis-amd64.so lib/amd64/server/libhsdis-amd64.so; cp ~/Install/libhsdis-amd64.so
lib/server/libhsdis-amd64.so; cp ~/Install/libhsdis-i386.so lib/i386/server/libhsdis-i386.so;'
If you already have only the hex dump, you can disassemble it. This works for me fine:
https://onlinedisassembler.com/odaweb/
Thanks,
-Aleksey
More information about the hotspot-runtime-dev
mailing list