Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

gctoolkit

> 数据库
Open source

Tool for parsing GC logs

1.3K stars0 likes0 views
WebsiteGitHub

About

Tool for parsing GC logs

Microsoft GCToolKit

GCToolkit is a set of libraries for analyzing HotSpot Java garbage collection (GC) log files. The toolkit parses GC log files into discrete events and provides an API for aggregating data from those events. This allows the user to create arbitrary and complex analyses of the state of managed memory in the Java Virtual Machine (JVM) represented by the garbage collection log.

For more detail you can read our Launch Blog Post.

Introduction

Managed memory in the Java Virtual Machine (JVM) is composed of 3 main pieces:

  1. Memory buffers known as Java heap
  2. Allocators which perform the work of getting data into Java heap
  3. Garbage Collection (GC).

While GC is responsible for recovering memory in Java heap that is no longer in use, the term is often used as a euphemism for memory management. The phrasing of Tuning GC or tuning the collector are often used with the understanding that it refers to tuning the JVM’s memory management subsystem. The best source of telemetry data for tuning GC comes from GC Logs and GCToolKit has been helpful in making this task easier by providing parsers, models and an API to build analytics with. You can run the Maven project HeapOccupancyAfterCollectionSummary sample as an example of this.

Usage

In order to use this library you'll need to add its dependencies to your project. We provide the instructions for Maven below.

Maven Coordinates

The GCToolKit artifacts are in Maven Central. You'll then need to add the api, parser and vertx modules to your project in the dependencyManagement and/or dependencies section as you see fit.

xml

    ...
    
    
        com.microsoft.gctoolkit
        api
        3.0.4
    
    
    
        com.microsoft.gctoolkit
        parser
        3.0.4
    
    
    
        com.microsoft.gctoolkit
        vertx
        3.0.4
    

    ...

User Discussions

Meet other developers working with GCToolKit, ask questions, and participate in the development of this project by visiting the Discussions tab.

Example

See the sample project: sample/README

Contributing

See CONTRIBUTING for full details including more options for building and testing the project.

Test Coverage Report

Core API Coverage

Core :: Parser

Core :: Vertx

License

Microsoft GCToolKit is licensed under the MIT license.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javagcheapjavajvm

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库