Last active
June 2, 2019 18:55
-
-
Save monadplus/8f20788619a3f17ab269266160795a6b to your computer and use it in GitHub Desktop.
G1 Garbage Collector
This file contains hidden or 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
GC1 is not the default GC in java_1.8 | |
You can check it at: | |
`$ java -XX:+PrintCommandLineFlags -XX:+PrintGCDetails -version` | |
To set G1GC: | |
$ java -XX:+PrintCommandLineFlags -XX:+PrintGCDetails -XX:+UseG1GC -version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment