mmtk-core icon indicating copy to clipboard operation
mmtk-core copied to clipboard

Feature: Do not move root objects in Immix

Open qinsoon opened this issue 2 years ago • 2 comments

This feature would be helpful if a binding allows moving non-root objects, but not root objects. E.g. they are doing conservative stack scanning. The idea is simple: for root edges, we need to tell Immix to mark the objects but not copy them.

qinsoon avatar May 12 '22 01:05 qinsoon

This could just be implemented by object pinning, right? If you are using conservative roots, then we can just pin the roots.

k-sareen avatar May 12 '22 02:05 k-sareen

This could just be implemented by object pinning, right? If you are using conservative roots, then we can just pin the roots.

Right. But pinning requires using object metadata for a pinning bit. This does not need extra object metadata.

qinsoon avatar May 12 '22 04:05 qinsoon

Closed with https://github.com/mmtk/mmtk-core/pull/897

k-sareen avatar Oct 26 '23 05:10 k-sareen