> 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 59 commits: - Merge - Acquire lock in ThreadDumpDCmd as operation prologue not executed. Mostly avoid strncat. Windows tidyup. Test fix for when cicrash does not crash quickly enough. - Remove dependency on DebuggingContext (which disabled asserts). - Logging verbosity. Check Linux personality and log if ASLR disabled. Don't rely on libc name to find library. - Remove static saved statistics for string and symboltable - Update for basic jcmd test - Merge remote-tracking branch 'upstream/master' into 8378084_jep_cores_impl - 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. - Merge remote-tracking branch 'upstream/master' into 8378084_jep_cores_impl - test update - ... and 49 more: https://git.openjdk.org/jdk/compare/aa760183...5c9a9e4a ------------- Changes: https://git.openjdk.org/jdk/pull/31011/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31011&range=41 Stats: 8193 lines in 81 files changed: 7471 ins; 603 del; 119 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
