Loading... (original) (raw)

Besides G1, Shenandoah also implemented string deduplication support.

The two implementations share many similarities, but are also different in the ways where they enqueue string candidates.

G1 identifies and enqueues candidates at safepoints, while shenandoah does that during concurrent marking phase.

The code should be refactored to move common code into shared, while abstract away to differences