> This implements "jcmd on core files" for Linux, and for MiniDumps on Windows > (MacOS is "future work"). > jcmd "revives" the VM memory and .so/.dll from the core/minidump, and runs > the existing native diagnostic command parser and command implementations. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Kevin Walls has updated the pull request incrementally with one additional commit since the last revision: Minor API update, change a throws and implNote. Clarify source by calling the directory for a cache the revival cache dir (not revival data dir), and "revival_data" is the one struct the VM and tool share. Use PATH_MAX Rename waitHitRet as diagWait - diagnostic wait. It waits so the process can be inspected at different points before a failure. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31011/files - new: https://git.openjdk.org/jdk/pull/31011/files/95c23836..79fc2b4c Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31011&range=38 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31011&range=37-38 Stats: 235 lines in 10 files changed: 51 ins; 53 del; 131 mod Patch: https://git.openjdk.org/jdk/pull/31011.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31011/head:pull/31011 PR: https://git.openjdk.org/jdk/pull/31011
