Jmap -heap on all OpenJDK 1.7.79+ on Linux x86_64 crash

Andrew Hughes gnu.andrew at redhat.com
Wed Apr 19 01:36:29 UTC 2017



----- Original Message -----
> > 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).
> 
> Surely we just need to revert whatever was introduced in 1.7.80 to
> "helpfully" strip it 

It's nothing to do with OpenJDK or even the packaging of OpenJDK specifically,
but something that distros do for all packages.

> and also put 'jmap' at least and perhaps 'jstack' back
> into the non-devel RPM, which if I'm not mistaken was also a change about
> the same time. Jmap in particular is frequently used in production to
> measure health of a JVM and jstack to capture vital information in the event
> of a (semi-)crash, and where a core file (for security or space reasons) may
> not be permitted at all or to persist for very long. Yes, I'm sure
> developers like to use them too, but corporate security gets bent out of
> shape big time when it sees compilers and debuggers installed, so installing
> -devel is problematic.

That's something you really need to raise as a bug with the appropriate distro.
There's not anything we can do about it in upstream OpenJDK.

> 
> 
> 
> ________________________________
> 
> If you wish to view the CPA Global group email disclaimer, please click
> here<https://www.cpaglobal.com/Privacy/CPAGlobalEmailDisclaimer/>
> ________________________________
> 

-- 
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