# Usage of G1GC setting for Elastic 7.2.0 with JDK version 1.8.0\_77-b03

**URL:** <https://discuss.elastic.co/t/usage-of-g1gc-setting-for-elastic-7-2-0-with-jdk-version-1-8-0-77-b03/201020>\
**Category:** Elasticsearch\
**Created:** [September 25, 2019, 11:41am UTC](https://discuss.elastic.co/t/usage-of-g1gc-setting-for-elastic-7-2-0-with-jdk-version-1-8-0-77-b03/201020 "2019-09-25T11:41:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DineshNaik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dineshnaik/32/89308_2.png) [@DineshNaik](https://discuss.elastic.co/u/DineshNaik)\
**Post date:** [September 25, 2019, 11:41am UTC](https://discuss.elastic.co/t/usage-of-g1gc-setting-for-elastic-7-2-0-with-jdk-version-1-8-0-77-b03/201020/1 "2019-09-25T11:41:26Z")

</div>

Hi ,  
Can i use the G1GC setting with ES version 7.2.0 which is running with jdk 1.8 ?

Does it has any performance issues for lower java versions or its not even supported for lower version of java as mentioned (commented) in jvm.options file:

## G1GC Configuration

# NOTE: G1GC is only supported on JDK version 10 or later.

# To use G1GC uncomment the lines below.

# 10-:-XX:-UseConcMarkSweepGC

# 10-:-XX:-UseCMSInitiatingOccupancyOnly

# 10-:-XX:+UseG1GC

# 10-:-XX:InitiatingHeapOccupancyPercent=75

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 23, 2019, 11:45am UTC](https://discuss.elastic.co/t/usage-of-g1gc-setting-for-elastic-7-2-0-with-jdk-version-1-8-0-77-b03/201020/2 "2019-10-23T11:45:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
