Watch garbage collection happening in Java and for how long

Updated -

Modern computer languages include dynamic memory allocation. Java code explicitly allocates new objects, but the freeing of those objects is handled implicitly by the Java Virtual Machine (JVM). The dynamically allocated objects are freed when they are not longer accessible to the program using a technique called Garbage Collection (GC). The GC process can take a significant amount of time t...

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