RFR: 8328779: ZGC: `XMark::follow_object` does not need to invoke `ContinuationGCSupport::relativize_stack_chunk`

Erik Österlund eosterlund at openjdk.org
Fri Mar 22 13:31:24 UTC 2024


On Fri, 22 Mar 2024 13:21:13 GMT, Guoxiong Li <gli at openjdk.org> wrote:

> Hi all, 
> 
> `XMark::follow_object` unnecessarily invokes `ContinuationGCSupport::relativize_stack_chunk`. This patch changes it to `oopDesc::is_stackChunk` instead, just like `ZMark::follow_object`.
> 
> Thanks for taking the time to review.
> 
> Best Regards,
> -- Guoxiong

What makes you think it is unnecessary to relativize the stack?

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

PR Comment: https://git.openjdk.org/jdk/pull/18452#issuecomment-2015101191


More information about the hotspot-gc-dev mailing list