RFR: 8367339: Parallel: Remove PSScavenge::should_scavenge

Francesco Andreuzzi fandreuzzi at openjdk.org
Thu Sep 11 08:56:07 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

Marked as reviewed by fandreuzzi (Author).

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

PR Review: https://git.openjdk.org/jdk/pull/27193#pullrequestreview-3209969516


More information about the hotspot-gc-dev mailing list