RFR: JMC-5506 Rule that detects fatal errors in the end of the recording

Erik Gahlin erik.gahlin at oracle.com
Fri Nov 2 21:28:16 UTC 2018

Hi Joshua,

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 [1] [2]. 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.

[1] https://bugs.openjdk.java.net/browse/JDK-8041626
[2] http://hg.openjdk.java.net/jdk/hs/rev/f413e471a6ab


> Hi,
> 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.
> http://cr.openjdk.java.net/~jmatsuoka/JMC-5506/webrev.02/
> Thoughts?
> Cheers,
> - Josh

More information about the jmc-dev mailing list