On Wed, 9 Sep 2026 06:58:16 GMT, Yasumasa Suenaga <[email protected]> wrote:
> [JDK-8388696](https://bugs.openjdk.org/browse/JDK-8388696) (PR #31999) has > changed SA code to show error message if DWARF parser encounts unsupported > DWARF instructions. This caused a new error in > TestJhsdbJstackMixedWithXComp.java#xcomp. See JBS for details. > > This PR updates to return the result from > `DwarfParser::parse_dwarf_instructions` - `false` if DWARF parser failed such > as unknown instruction. `DW_CFA_def_cfa_expression` is one of cases of > failure because SA does not support it. > However `DW_CFA_def_cfa_expression` might be set for signal trampoline such > as `__restore_rt` on AMD64. Thus this PR ignores the failure in > `DwarfParser::parse_dwarf_instructions` if PC points signal trampoline. > > This PR passed serviceability/sa tests on both AMD64 and AArch64 Linux. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). Thanks both for your review! I agree with @plummercj , so I filed it as [JDK-8392120](https://bugs.openjdk.org/browse/JDK-8392120). ------------- PR Comment: https://git.openjdk.org/jdk/pull/32777#issuecomment-5610484936
