There is this method that prints some statistics at VM exit that prints information about the marking in G1 and Shenandoah.
Still this is something that needs to be implemented for all collectors.
This functionality fits much more to be collector specific and be put into the CollectedHeap::stop() method (where there is partially already some likewise code).
Still this is something that needs to be implemented for all collectors.
This functionality fits much more to be collector specific and be put into the CollectedHeap::stop() method (where there is partially already some likewise code).
- relates to
-
JDK-8361238 G1 tries to get CPU info from terminated threads at shutdown
-
- Resolved
-