Skip to content

Commit fbffdb8

Browse files
dakronekcm
authored andcommitted
Add commented out JVM options for G1GC (#33685)
* Add commented out JVM options for G1GC These options are available now that we will be supporting G1GC for Java 10 and above. They are also designed so that the CMS options don't have to be commented out in order for the G1 options to take effect. * Update wording
1 parent 11e742a commit fbffdb8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

distribution/src/config/jvm.options

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@
3737
-XX:CMSInitiatingOccupancyFraction=75
3838
-XX:+UseCMSInitiatingOccupancyOnly
3939

40+
## G1GC Configuration
41+
# NOTE: G1GC is only supported on JDK version 10 or later.
42+
# To use G1GC uncomment the lines below.
43+
# 10-:-XX:-UseConcMarkSweepGC
44+
# 10-:-XX:-UseCMSInitiatingOccupancyOnly
45+
# 10-:-XX:+UseG1GC
46+
# 10-:-XX:InitiatingHeapOccupancyPercent=75
47+
4048
## optimizations
4149

4250
# pre-touch memory pages used by the JVM during initialization

0 commit comments

Comments
 (0)