RFR: 8309210: Extend VM Operations hs_err logging
Erik Österlund
eosterlund at openjdk.org
Fri Jun 2 08:58:06 UTC 2023
On Wed, 31 May 2023 14:35:03 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
> We have a section in the hs_err file, which prints the most recently run VM operations. Sometimes a VM operation type is used from multiple places in our code and it's not obvious why the VM operation was run. For example, HandshakeAllThreads doesn't tell us why we are running the handshake. I propose that we add an option for the VM operations to tell more about why they are used.
>
> The proposed patch enhances the Handshake VM operation and the ZGC pause VM Operations.
This will make debugging much easier. Thank you. Looks good.
-------------
Marked as reviewed by eosterlund (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/14248#pullrequestreview-1456938967
More information about the hotspot-dev
mailing list