RFR: 8307517: Add VMErrorCallback infrastructure to extend hs_err dumping

David Holmes dholmes at openjdk.org
Mon May 8 07:41:23 UTC 2023


On Mon, 8 May 2023 06:32:27 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> Given the context it would have to be `Thread::current_or_null_safe()`. But yes we prefer not to re-materialize the current thread if we already have it at hand.
>
> Could you explain why it would have to be `Thread::current_or_null_safe()`? The constructor and destructor are run in "normal" JVM code and not in the error handler.

Sorry my mistake.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13824#discussion_r1187127275


More information about the hotspot-dev mailing list