JDK-8193318 : ELF decoder should be able to use external debug info file
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 10
  • Priority: P4
  • Status: Resolved
  • Resolution: Won't Fix
  • OS: linux
  • Submitted: 2017-12-11
  • Updated: 2022-01-24
  • Resolved: 2018-07-03
Related Reports
Blocks :  
Relates :  
Relates :  
Description
OpenJDK Linux distribution usually does not include debug info in binaries, and debug info package can be installed separately.

Current elf decoder assumes full debug symbols are contained in binaries and can not deal with external debug info files.



Comments
http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2018-March/026992.html
01-05-2018

Make sense to cleanup Elf file implementation before adding this new feature.
12-12-2017

This downstream bug has some more info: https://bugzilla.redhat.com/show_bug.cgi?id=1520879 This breaks detailed NMT reporting for RPMs.
12-12-2017

Note that JDK-6932270 added similar functionality for jstack -m.
12-12-2017