RFR: 8309210: Extend VM Operations hs_err logging

Thomas Stuefe stuefe at openjdk.org
Thu Jun 1 05:42:04 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.

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

Marked as reviewed by stuefe (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14248#pullrequestreview-1454607578


More information about the hotspot-dev mailing list