Inform the end of a collection.
Inform the start of a collection.
Inform the end of an allocation.
Inform the start of an allocation.
Inform that all threads (the world) have been resumed.
Inform that all threads (the world) have been stopped.
Construct a Stats object (useful for easy initialization).
Control and store the GC statistics.
This is the interface to this module, it has methods for the GC to inform when a relevant event has happened. The events are the start and finish of an allocation, when the world is stopped and restarted and when a collection is triggered and done.
All the data is logged in memory and printed to the standard output when requested (usually at the end of the program).