Microsoft Open Sources Java Garbage Collection Analyzer

0
765
  • Users can create arbitrary and complex scans of the state of the managed memory in the JVM as reported by the Java GC log.
  • GCToolkit consists of three Java modules that cover API, GC log file analyzers, and a message backplane based on the Vert.x toolkit for building responsive applications on the JVM

Microsoft’s Java Engineering Group has made available the Microsoft GCToolkit, a set of libraries for analyzing Java Garbage Collection (GC) log files.It is available on GitHub and offered under the MIT license. It analyses log files into discrete events and has an API to aggregate the data from these events. Users can create arbitrary and complex scans of the state of the managed memory in the JVM as reported by the Java GC log.

GCToolkit consists of three Java modules that cover API, GC log file analyzers, and a message backplane based on the Vert.x toolkit for building responsive applications on the JVM. The Analysis Module is a collection of regular expressions and code developed to be a robust GC log analyzer.

The Vert.x-based messaging backplane uses two message buses. The first one feeds the log lines from the GC file. Listeners on this bus are analyzers that convert data from the data source into events that represent either a GC cycle or a safety point. After that, they are posted to the second message bus. The listeners of this event bus then process the events of interest to them.

The analyzer emits discrete JVM events that allow you to write code to capture and analyze data from these events. GCToolkit has an aggregation / aggregation framework for capturing and analyzing data from GC log files

LEAVE A REPLY

Please enter your comment!
Please enter your name here