String Deduplication Log Parser
![Maven Central](https://camo.githubusercontent.com/1bf57380ba697a3c82a81026b6aaf98ccae725263b3cc99637470ad9a7dbaecc/68747470733a2f2f6d6176656e2d6261646765732e6865726f6b756170702e636f6d2f6d6176656e2d63656e7472616c2f636f6d2e6769746875622e6d6172736368616c6c2f737472696e672d64656475702d7061727365722f62616467652e737667)
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.