RFR: 8347434: Richer VM operations events logging

Aleksey Shipilev shade at openjdk.org
Fri Jan 17 08:13:39 UTC 2025


On Mon, 13 Jan 2025 06:56:59 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> A simpler quality of diagnostics improvement. In hs_err, it is not abundantly clear if executed VM operations took safepoint or not, were nested or not. It would be good to print that out.
>
> src/hotspot/share/runtime/vmThread.cpp line 413:
> 
>> 411:            cause != nullptr ? ")" : "");
>> 412: 
>> 413:   EventMarkVMOperation em("%s",ss.freeze());
> 
> Suggestion:
> 
>   EventMarkVMOperation em("%s", ss.freeze());

Fixed, thanks.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23039#discussion_r1919715113


More information about the hotspot-runtime-dev mailing list