You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dale Emery (Jira)" <ji...@apache.org> on 2022/03/31 18:44:00 UTC

[jira] [Updated] (GEODE-10206) Geode assumes CMS garbage collector, which JDK 17 lacks

     [ https://issues.apache.org/jira/browse/GEODE-10206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dale Emery updated GEODE-10206:
-------------------------------
    Labels: Java17  (was: )

> 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
>            Priority: Major
>              Labels: Java17
>
> 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.1#820001)