yandrey321 commented on code in PR #9967:
URL: https://github.com/apache/ozone/pull/9967#discussion_r2977587892


##########
hadoop-ozone/dist/src/shell/ozone/ozone-functions.sh:
##########
@@ -1525,8 +1525,8 @@ function ozone_add_default_gc_opts
     if [[ ! "$OZONE_OPTS" =~ "-XX" ]] ; then
       OZONE_OPTS="${OZONE_OPTS} -XX:ParallelGCThreads=8"
       if [[ "$java_major_version" -lt 15 ]]; then
-        OZONE_OPTS="${OZONE_OPTS} -XX:+UseConcMarkSweepGC 
-XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled"
-        ozone_error "No '-XX:...' jvm parameters are set. Adding safer GC 
settings '-XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC 
-XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled' to the 
OZONE_OPTS"
+        OZONE_OPTS="${OZONE_OPTS} -XX:+UseConcMarkSweepGC -XX:NewRatio=3 
-XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled"

Review Comment:
   what would be the equivalent for G1GC? 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to