> 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 with a new target base due to a merge or a rebase. The pull request now contains 71 commits: - Change message when library loads at wrong address. Move some comments. Use addSuppressed() so save additional AttachNotSupportedException in attach. - Merge remote-tracking branch 'upstream/master' into 8378084_jep_cores_impl - Test update to avoid AOT and XComp for some tests. - Windows _lseeki64. - Windows _lseeki64. No timeout waiting for revivalhelper. - Limit tests for ZGC - vmError show fatal error for revived process. elffile and segment clarification in region checks. - revival data does not need a 'magic' number, it has version and size - RISCV suggestion from Fei Yang - Update, some Linux, ELF and revival.cpp/.hpp tidyup - ... and 61 more: https://git.openjdk.org/jdk/compare/d9403f8b...77ac38d3 ------------- Changes: https://git.openjdk.org/jdk/pull/31011/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31011&range=48 Stats: 8291 lines in 81 files changed: 7570 ins; 603 del; 118 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
