JMC-5506 Rule that detects fatal errors in the end of the recording
marcus.hirt at oracle.com
Sun Nov 4 11:43:12 UTC 2018
Will Shutdown Reason state that the reason for the shutdown was due to no more
remaining non-daemon threads? If so, the reason will be shown on the page.
If we want it to be even more apparent, we could also add it to the rule
as Severity.INFO (25). Either way is fine with me.
If the Shutdown Reason doesn't state this explicitly, that should
probably be fixed in the event.
On 2018-11-02, 22:28, "jmc-dev on behalf of Erik Gahlin" <jmc-dev-bounces at openjdk.java.net on behalf of erik.gahlin at oracle.com> wrote:
I think the text should say "JVM" instead of "VM"
Calling the event "VM" was a mistake in JVM implementation and we intend
to change the label of the event to "JVM", similar to other events, such
as "JVM Information"
One of the reason the event was added was to detect if there were no
more remaining non-daemon Java threads  . Maybe that should be
called out? A user may wonder why their application exited abruptly.
It's not an error per se, but it would still be good to see somehow.
> The following patch adds support for the recently added VM Shutdown event
> by creating a rule to detect if the JVM terminated in a VM Error, as well
> as adding shutdown information to the JVM internals page.
> - Josh
More information about the jmc-dev