Shenandoah GC



Reviewing here about Concurrent GC’s and GC’s strategy, I saw about Shenandoah GC quite interesting topic. The phases are basically related to marking the regions.

Shenandoah GC

Basically, Shenandoah is about regional collection – if this sentence makes sense.  It has 9 phases but also 5 heuristics. The paper can be accessed here

Usage flag: XX:+UseShenandoahGC

The phases are enumerated below:

    Initial Mark       

   Concurrent Marking

   Final Mark

   Concurrent Cleanup

   Concurrent Evacuation

   Init Update Refs

   Concurrent Update References

   Final Update Refs

   Concurrent Cleanup

The heuristics can be used as:


And tells the GC how to actually start the mechanism. They are: adaptative, static, compact, passive and aggressive.


Youtube Video from Christine Flood

Reddit thread

Shenandoah Visualizer

It is possible to use the Shenandoah visualizer tool to understand more about it.




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s