Integrated: 8367339: Parallel: Remove PSScavenge::should_scavenge

Albert Mingkun Yang ayang at openjdk.org
Thu Sep 11 11:25:54 UTC 2025


On Wed, 10 Sep 2025 14:03:20 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Removing (inlining) a compound method that performs two independent things, loading the obj from a location and checking whether the object belongs to young-gen. Existing callers are changed to use more fine-grained methods, which are more transparent and readable in their context.
> 
> Test: tier1-3

This pull request has now been integrated.

Changeset: a2d272a0
Author:    Albert Mingkun Yang <ayang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a2d272a02a079e2413d10ad2decb04681ce2f961
Stats:     104 lines in 8 files changed: 4 ins; 91 del; 9 mod

8367339: Parallel: Remove PSScavenge::should_scavenge

Reviewed-by: tschatzl, fandreuzzi

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

PR: https://git.openjdk.org/jdk/pull/27193


More information about the hotspot-gc-dev mailing list