The difference between `XMark::follow_object` and `ZMark::follow_object`
Guoxiong Li
lgxbslgx at gmail.com
Thu Mar 21 13:52:17 UTC 2024
Hi all,
I noticed the `XMark::follow_object` invokes the
`ContinuationGCSupport::relativize_stack_chunk` to transform the pointer.
But `ZMark::follow_object` only checks if the object is a stack chunk
by using `oopDesc::is_stackChunk`.
And the `XBarrierSetStackChunk::encode_gc_mode` is an empty implementation.
Does the `XMark::follow_object` need to invoke
`ContinuationGCSupport::relativize_stack_chunk`?
Or is it just unrelated code which needs to be adjusted?
Best Regards,
-- Guoxiong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20240321/d6ebb38e/attachment-0001.htm>
More information about the hotspot-gc-dev
mailing list