File tree 1 file changed +1
-26
lines changed
1 file changed +1
-26
lines changed Original file line number Diff line number Diff line change 1
1
# GC
2
2
3
- ## Flag Lookup
4
-
5
- Find the default value of a GC setting in Java:
6
-
7
- ``` sh
8
- java -XX:+PrintFlagsFinal -version
9
- ```
10
-
11
- For example, finding the default value of ` MaxGCPauseMillis ` can be done as follow:
12
-
13
- ``` sh
14
- ~ $ java -XX:+PrintFlagsFinal -version | grep MaxGCPauseMillis
15
- uintx MaxGCPauseMillis = 200 {product} {default}
16
- openjdk version " 14.0.2" 2020-07-14
17
- OpenJDK Runtime Environment AdoptOpenJDK (build 14.0.2+12)
18
- OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14.0.2+12, mixed mode, sharing)
19
- ```
20
-
21
- ## Articles
22
-
23
- - Elasticsearch, "GC logging", _ Elasticsearch_ , 2020.<br >
24
- < https://www.elastic.co/guide/en/elasticsearch/reference/current/gc-logging.html >
25
- - Oracle, "Concurrent Mark Sweep (CMS) Collector (Java 8)", _ Oracle_ , 2020.<br >
26
- < https://docs.oracle.com/javase/8/docs/technotes/guides/vm/gctuning/cms.html >
27
- - Prabin Meitei M, "Garbage Collection in Elasticsearch and the G1GC", _ Medium_ , 2018.<br >
28
- < https://medium.com/naukri-engineering/garbage-collection-in-elasticsearch-and-the-g1gc-16b79a447181 >
3
+ < https://mincong.io/2020/08/30/gc-in-elasticsearch/ >
You can’t perform that action at this time.
0 commit comments