JDK-8297657 : name demangling intermittently fails
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 20
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • Submitted: 2022-11-25
  • Updated: 2022-11-25
Related Reports
Relates :  
Description
When JDK-7186778 refactored MachODecoder, the AbstractDecoder::_decoder_status field was left uninitialized for MachODecoder instances.

On macosx-aarch64, this causes name demangling to occasionally fail (e.g. in hs-err stack traces). I assume the same thing happens on macosx-amd64 as well.
Comments
I think the attached JDK-8297657.patch would fix this.
25-11-2022