> 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 76 commits:

 - Update including: feedback from Serguei.  NOTE alignment.    
revival_mapping_allocate takes prot and bool guard params.  Check each libdirs 
item not exceeding PATH_MAX.  Revival cache dir called core.jcmd (not 
.revival).  revivalhelper arg parsing correction.  Windows _lseeki64 returns 
signed pos.
 - Merge remote-tracking branch 'upstream/master' into 8378084_jep_cores_impl
 - Linux library list: use NT_FILE list and match for .so, to not count aot 
cache (which is read only) as a library to avoid mapping from core (also 
*.jsa).  Show revivalhelper retries only if above an interesting level, as for 
Linux aarch64 two or three tries is common enough to be noisy if always 
printing.
 - test tweak
 - whitespace
 - 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.
 - ... and 66 more: https://git.openjdk.org/jdk/compare/b068723f...bd324cd5

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

Changes: https://git.openjdk.org/jdk/pull/31011/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31011&range=51
  Stats: 8325 lines in 81 files changed: 7604 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

Reply via email to