JDK-8284066 : [Linux] Unify Hotspot and SA DWARF parser
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 19
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • Submitted: 2022-03-31
  • Updated: 2022-03-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Blocks :  
Description
JDK-8242182 will add source information for native stack traces. This is done by a new DWARF parser. SA already has a DWARF parser but uses it for a different purpose (parsing call frame information as described in section 6.4 of the DWARF spec). Nevertheless, there is some code sharing between the two parsers like opening and checking a DWARF file or reading some DWARF specific data types like LEB 128.

In the future, SA might also want to get source information and/or Hotspot information about call frames as discussed in https://github.com/openjdk/jdk/pull/7126#issuecomment-1081288899. This RFE should unify both parsers within Hotspot such that SA can reuse the code.