When using the Java low pause Concurrent Mark Sweep (CMS) garbage collector "concurrent mode failure" appears in GC logs

Solution Verified - Updated -

Issue

  • Long Garbage Collection (GC) pauses with GC log showing many concurrent mode failures.
  • The following entries are found in the GC logs
    2008-07-23-19:21:10  [GC 457890.408: [ParNew (promotion failed): 59008K->59008K(59008K), 4.7636750 secs]457895.171: [CMS457896.587: [CMS-concurrent-mark: 1.593/6.359 secs] [Times: user=6.36 sys=3.50, real=6.36 secs]  (concurrent mode failure): 1376854K->894596K(1507328K), 8.3823060 secs]
    1430906K->894596K(1566336K), [CMS Perm : 84066K->84063K(131072K)], 13.1464100 secs] [Times: user=12.90 sys=3.48, real=13.14 secs]
    Total time for which application threads were stopped: 13.1475330 seconds
    

Environment

  • OpenJDK
  • Oracle JDK 1.5 and later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content