On Mon, 9 Nov 2026 16:52:23 GMT, Kevin Walls <[email protected]> wrote:

>> 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:
> 
>   Test update to avoid AOT and XComp for some tests.

src/jdk.attach/share/classes/com/sun/tools/attach/VirtualMachine.java line 321:

> 319:                     message.append(" | ");
> 320:                 }
> 321:                 message.append(x.getMessage());

It would be more typically to record it as a suppressed exception, assuming we 
need it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31011#discussion_r4551317669

Reply via email to