[ https://issues.apache.org/jira/browse/GEODE-10206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532954#comment-17532954 ]
ASF subversion and git services commented on GEODE-10206: --------------------------------------------------------- Commit 95180e414386afc94e730005adea40867f07298d in geode's branch refs/heads/develop from Darrel Schneider [ https://gitbox.apache.org/repos/asf?p=geode.git;h=95180e4143 ] GEODE-10206: clean up product references to CMS (#7646) * the command line validator no longer warns if CMS is not configured if the JDK does not support CMS * cleaned up comments that refer to CMS > Geode assumes CMS garbage collector, which JDK 17 lacks > ------------------------------------------------------- > > Key: GEODE-10206 > URL: https://issues.apache.org/jira/browse/GEODE-10206 > Project: Geode > Issue Type: Improvement > Components: core, docs, gfsh > Affects Versions: 1.15.0 > Reporter: Dale Emery > Assignee: Darrel Schneider > Priority: Major > Labels: Java17, pull-request-available > > Several places in Geode code and documentation assume that Concurrent Mark > Sweet (CMS) garbage collector exists, and that these VM arguments are > meaningful: > - -XX:+UseConcMarkSweepGC > - -XX:CMSInitiatingOccupancyFraction > The CMS garbage collector is not available on JDK 17. JDK 17 warns that it > does not recognize these arguments. > These production classes rely on CMS args at runtime: > - extensions/geode-modules: ResourceManagerValidator.validateSunArguments() > recommends configuring the CMS args. > - geode-gfsh: StartMemberUtils passes the CMS args when max heap is set. > These test classes use the CMS args at runtime: > - geode-for-redis: OutOfMemoryDUnitTest passes a > CMSInitiatingOccupancyFraction arg when starting a server. > User-facing Javadoc comments on these classes refer to the CMS args: > - geode-core: EvictionAttributes > - geode-core: ResourceManager > Code comments in these classes refer to the CMS args: > - geode-modules: AbstractCache > These properties files in geode-modules-assembly define or refer to the CMS > args: > - scripts/setenv.properties > - tcserver/geode-cs/configuration-prompts.properties > - tcserver/geode-p2p/configuration-prompts.properties > These documentation files in geode-docs refer to the CMS args: > - configuring/running/running_the_cacheserver.html.md.erb > - managing/heap_use/heap_management.html.md.erb > - managing/monitor_tune/system_member_performance_garbage.html.md.erb -- This message was sent by Atlassian Jira (v8.20.7#820007)