Jmap -heap on all OpenJDK 1.7.79+ on Linux x86_64 crash
Andrew Hughes
gnu.andrew at redhat.com
Tue Apr 18 23:21:43 UTC 2017
----- Original Message -----
> Well, well, well. Installing -debuginfo resulted in a successful run with and
> without using GDB.
> I uninstalled -debuginfo and the exception came back.
>
Yes. It's because the symbol table is removed from libjvm.so as part of
packaging and moved into a separate debug file. So, unless debuginfo is
installed, jmap can't find the symbol table.
I believe at one time it was possible to tell RPM to omit the symbol table
from stripping, but it seems this is no longer the case. Other distributions
suffer in the same way (I've observed it on Gentoo as well).
--
Andrew :)
Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Web Site: http://fuseyism.com
Twitter: https://twitter.com/gnu_andrew_java
PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222
More information about the jdk7u-dev
mailing list