RFR: 8309210: Extend VM Operations hs_err logging
Stefan Johansson
sjohanss at openjdk.org
Fri Jun 2 09:48:05 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.
Looks good! File file an enhancement to add this for all `VM_GC_Operations`
-------------
Marked as reviewed by sjohanss (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/14248#pullrequestreview-1457016997
More information about the hotspot-dev
mailing list