[ https://issues.apache.org/jira/browse/GEODE-10206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darrel Schneider resolved GEODE-10206. -------------------------------------- Fix Version/s: 1.15.0 Resolution: Fixed The erb doc files still need attention but that will be done on another ticket. > 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 > Fix For: 1.15.0 > > > 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)