How to get processing time of GC performed in "Stop the World" state in OpenJDK 8

Solution Unverified - Updated -

Issue

I'm considering which GC algorithm (among Serial GC, Parallel GC, CMS GC, G1GC) we should choose in our production environment by comparing "Stop the World" GC time in each GC algorithm. What should I look at in GC log?

Environment

  • OpenJDK 8

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