String Deduplication Log Parser

Parses HotSpot string deduplication logs.

License

License

MIT
GroupId

GroupId

com.github.marschall
ArtifactId

ArtifactId

string-dedup-parser
Last Version

Last Version

0.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

String Deduplication Log Parser
Parses HotSpot string deduplication logs.
Project URL

Project URL

https://github.com/marschall/string-dedup-parser
Source Code Management

Source Code Management

https://github.com/marschall/string-dedup-parser

Download string-dedup-parser

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.marschall/string-dedup-parser/ -->
<dependency>
    <groupId>com.github.marschall</groupId>
    <artifactId>string-dedup-parser</artifactId>
    <version>0.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.marschall/string-dedup-parser/
implementation 'com.github.marschall:string-dedup-parser:0.3.0'
// https://jarcasting.com/artifacts/com.github.marschall/string-dedup-parser/
implementation ("com.github.marschall:string-dedup-parser:0.3.0")
'com.github.marschall:string-dedup-parser:jar:0.3.0'
<dependency org="com.github.marschall" name="string-dedup-parser" rev="0.3.0">
  <artifact name="string-dedup-parser" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.marschall', module='string-dedup-parser', version='0.3.0')
)
libraryDependencies += "com.github.marschall" % "string-dedup-parser" % "0.3.0"
[com.github.marschall/string-dedup-parser "0.3.0"]

Dependencies

compile (2)

Group / Artifact Type Version
com.github.marschall : line-parser jar 0.4.2
com.github.marschall : charsequences jar 0.4.2

provided (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

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.

Versions

Version
0.3.0
0.2.3
0.2.1
0.2.0
0.1.0