Microsoft’s Java Engineering Group announced the open-sourcing of GCToolkit, and the availability on GitHub, offered under the MIT license. While the tool comprises of three Java modules including the API, garbage collection log file parsers, and a message backplane based on the Vert.x toolkit for building apps on the JVM.
The API serves as the entry point into the toolkit, concealing the details of using the parser to analyze a garbage collection log file into a method calls; with the parser module as a collection of regular code developed to be a robust garbage collection log parser.
How the open-sourcing of GCToolkit will impact the Development ecosystem?
As GCToolkit parses GC log files into discrete events and provides an API for aggregating data from those events, it allows developers to create arbitrary and complex analyses of the state of managed memory in the Java Virtual Machine (JVM).
The management of memory in the JVM comprises of 3 main pieces, namely: memory buffers also known as Java heap, allocators which works on getting data into Java heap, and garbage collection (GC).
GC is responsible for recovering memory in Java heap that is no longer in use, which term is often used as a euphemism for memory management and tuning GC or tuning the collector are used with the understanding of tuning the JVM’s memory management subsystem.
How to Get Started with Microsoft GCToolkit?
GCToolkit is currently aailable on GitHub and offered under the MIT license, if you're interested in contributing.
But if you only want to follow along, you can join the community discussions at github.com/microsoft/gctoolkit/discussions.