Skip to content

marschall/string-dedup-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

String Deduplication Log Parser Build Status Maven Central

A parser for HotSpot string deduplication logs. Tested with JDK 8 and JDK 9.

Usage

Download string-dedup-parser-0.3.0-shaded.jar

Run the JAR with log file to parse as the first command line argument

java -jar string-dedup-parser-0.3.0-shaded.jar src/test/resources/middleware.log

the output will look something like this

total memory saved 162.1M in 148 deduplications

To get the logs you to to run at least with

-XX:+UseStringDeduplication -XX:+UseG1GC -XX:+PrintGC -XX:+PrintGCDetails

as string deduplication is only available with G1.

About

Parses HotSpot string deduplication logs.

Resources

Stars

Watchers

Forks

Packages

No packages published