Java CMS remark collection "weak refs processing" phase takes a long time

Solution Verified - Updated -


  • The "weak refs processing" phase of a CMS remark collection takes a long time. For example:
    26547.786: [GC[YG occupancy: 265341 K (513856 K)]26547.786: [Rescan (parallel) , 0.4281218 secs]26548.215: [weak refs processing, 6.3098393 secs] [1 CMS-remark: 4702208K(7193568K)] 4967549K(7707424K), 6.7428950 secs] [Times: user=7.35 sys=0.65, real=6.74 secs]


  • Oracle JDK
  • OpenJDK

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