Skip to content

Commit

Permalink
feat(deployment): Update to ZGC ZGenerational garbage collection (#29759
Browse files Browse the repository at this point in the history
) (#29760)

### Proposed Changes
* Replace existing ShenandoahGC options for -XX:+UseZGC
-XX:+ZGenerational

Depends upon PR #29758
This should be merged after the parent PR as it includes the changes of
that PR

### Checklist
- [ ] Tests
- [ ] Translations
- [ ] Security Implications Contemplated (add notes if applicable)

### Additional Info
This PR resolves #29759 (Updaate to ZGC ZGenerational garbage collection
su).


### Screenshots
Original             |  Updated
:-------------------------:|:-------------------------:
** original screenshot **  |  ** updated screenshot **
  • Loading branch information
spbolton authored Aug 27, 2024
1 parent a40ca94 commit fe8b971
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export LANG=${LANG:-"C.UTF-8"}

export TOMCAT_HOME=/srv/dotserver/tomcat
# JAVA args to pass to the Tomcat JVM
export JAVA_OPTS_BASE=${JAVA_OPTS_BASE:-"-Djava.awt.headless=true -Dfile.encoding=UTF8 -server -Dpdfbox.fontcache=/data/local/dotsecure -Dlog4j2.formatMsgNoLookups=true -Djava.library.path=/usr/lib/$( uname -m )-linux-gnu/ -XX:+UseShenandoahGC -XX:+UnlockExperimentalVMOptions -XX:ShenandoahUncommitDelay=1000 -XX:ShenandoahGuaranteedGCInterval=10000 "}
export JAVA_OPTS_BASE=${JAVA_OPTS_BASE:-"-Djava.awt.headless=true -Dfile.encoding=UTF8 -server -Dpdfbox.fontcache=/data/local/dotsecure -Dlog4j2.formatMsgNoLookups=true -Djava.library.path=/usr/lib/$( uname -m )-linux-gnu/ -XX:+UseZGC -XX:+ZGenerational "}
export JAVA_OPTS_MEMORY=${JAVA_OPTS_MEMORY:-"-Xmx1G"}

# $CMS_JAVA_OPTS is last so it trumps them all
Expand Down

0 comments on commit fe8b971

Please sign in to comment.