When using the Java low pause Concurrent Mark Sweep (CMS) garbage collector "promotion failed" appears in GC logs

Solution Verified - Updated -

Issue

  • Long garbage collection (GC) pauses with the GC log showing many promotion failures.
  • The following entry is found in the GC logging:
    144501.626: [GC 144501.627: [ParNew (promotion failed): 680066K->680066K(707840K), 3.7067346 secs] 1971073K->1981370K(2018560K), 3.7084059 secs]
    

Environment

  • OpenJDK
  • Sun JDK

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