A note about Java GC

I was in charge of the stabilization test. I have to report what the GC is doing, but it's an unknown world with no experience at all. That's why I summarized what I googled so as not to be ashamed.

Java VM argument

-verbose:gc -Xloggc:gc.log

How to install GCView

brew install maven
git clone https://github.com/chewiebug/GCViewer.git
cd GCViewer
mvn clean install
java -jar target/gcviewer-1.36-SNAPSHOT.jar


If you just run a simple program and take a GC log, In GCViewer, the time was too short and only vertical lines were displayed. For the time being, I understand how to use it, so it seems to be useful for analyzing GC logs for two days at work.

Reference site

About JavaVM GC log output and GC Viewer

Java development performance improvement! Part 2 GC log analysis and High setting

Recommended Posts

A note about Java GC
A note about the scope
A private note about AtomicReference
A note about RocksDB's Column Families
About returning a reference in a Java Getter
About Java interface
[Java] About Java 12 features
[Java] About arrays
[Swift] A note about function and closure
[Note] A story about changing Java build tools with VS Code
[Creating] A memorandum about coding in Java
[Note] About nil
Something about java
Where about java
About Java features
About Java threads
[Java] About interface
About Java class
About Java arrays
About java inheritance
About interface, java interface
About List [Java]
About java var
About Java literals
About Java commands
A note about adding Junit 4 to Android Studio
A story about Java 11 support for Web services
A story about the JDK in the Java 11 era
A note when you want Tuple in Java
A story about trying to operate JAVA File
A note about the Rails and Vue process
About Java log output
About Java functional interface
Java abstract modifier [Note]
[Java] Internal Iterator Note
Java, about 2D arrays
About class division (Java)
Q & A about JDK
About [Java] [StreamAPI] allMatch ()
About Java StringBuilder class
[Java] Create a filter
[Java] About Singleton Class
Organize Java GC mechanism
About Java method binding
[Java] About anonymous classes
About method splitting (Java)
Java JUnit brief note
java build a triangle
[java] Java SE 8 Silver Note
[Java Silver] About initialization
About Java Array List
About Java Polymorphism super ()
[Note] Java: String search
[Note] Java: String survey
About inheritance (Java Silver)
About Java String class
About Java access modifiers
My Study Note (Java)
About Java lambda expressions
About Java entry points
About Java 10 Docker support