What will be the impact of moving from CMS to G1 GC with using UseLargePages enabled, -XX:+UseLargePages?

(Doc ID 2395774.1)

Last updated on MAY 14, 2018

Applies to:

Oracle Coherence - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Goal

What will be the impact of moving from CMS to G1 GC with using large pages enabled, -XX:+UseLargePages?

A coherence cluster user was facing long GC pauses with JDK 8. They did not see this issue while running with JDK 7. The problem with JDK 8 was that sometimes the class-unloading step of CMS-remark phase was taking a very long time to do its job. Customer was running with large pages enabled with both JDK 7 and JDK 8.

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms