RFR: 8311609: [windows] Native stack printing lacks source information for dynamically loaded dlls

David Holmes dholmes at openjdk.org
Fri Jul 7 02:28:24 UTC 2023


Details are in the JBS issue, but the tl;dr version is we need to call `SymRefreshModuleList` before printing the native stack to ensure we have recently loaded dll's available. You still need the pdb for those dll's to actually get source information, of course.

Testing:
- sanity testing tiers 1-3
- local testing on windows in the context of [JDK-8311541](https://bugs.openjdk.org/browse/JDK-8311541)

Thanks

-------------

Commit messages:
 - 8311609: [windows] Native stack printing lacks source information for dynamically loaded dlls

Changes: https://git.openjdk.org/jdk/pull/14796/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14796&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8311609
  Stats: 29 lines in 5 files changed: 26 ins; 1 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/14796.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14796/head:pull/14796

PR: https://git.openjdk.org/jdk/pull/14796


More information about the hotspot-runtime-dev mailing list