Created
March 19, 2019 19:43
-
-
Save jerolba/29dd7c5bb9e12e41fec7e3f26cc97979 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Histogramer histogramer = new Histogramer(); | |
MemoryHistogram histogram = histogramer.createHistogram(); | |
HistogramEntry arrayList = histogram.get("java.util.ArrayList"); | |
System.out.println(arrayList.getInstances()); | |
System.out.println(arrayList.getSize()); | |
for (HistogramEntry entry : histogram) { | |
System.out.println(entry); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment