RFR: 8350722: Serial GC: Remove duplicate logic for detecting pointers in young gen

Saint Wesonga duke at openjdk.org
Sun Mar 16 17:12:53 UTC 2025


On Wed, 26 Feb 2025 08:45:57 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> If the goal is just factoring out the check to make it change for all locations whenever heap layout is changed, I would prefer adding a helper method in `SerialHeap` for example that's easily inlinable for the compiler.

Thanks for the explanation. I'll look into a different approach like an inlinable helper method.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23792#discussion_r1997663963


More information about the hotspot-gc-dev mailing list