RFR: 8352181: Shenandoah: Evacuate thread roots after early cleanup

William Kemper wkemper at openjdk.org
Mon Mar 17 21:43:22 UTC 2025


On Mon, 17 Mar 2025 21:37:14 GMT, William Kemper <wkemper at openjdk.org> wrote:

> Moving the evacuation of thread roots after early cleanup allows Shenandoah to recycle immediate garbage a bit sooner in the cycle.

@rkennke , this is a small change that allows immediate garbage to be recycled sooner. Wasn't sure if there was a specific reason to have thread roots evacuated before weak refs/roots and class unloading. Testing didn't show any problems.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/24090#issuecomment-2730994869


More information about the shenandoah-dev mailing list