Closed wks closed 7 months ago
Normal
-> Default
perhaps?
I did the obvious change -- renaming those type members and some generic type arguments.
I considered making is_pinning: bool
a parameter of trace_object
. (See: https://mmtk.zulipchat.com/#narrow/stream/262673-mmtk-core/topic/Pinning.20and.20TPProcessEdges/near/432461772) It may need some non-trivial refactoring, and may potentially change the API (I can already anticipate changing the public method ObjectTracer::trace_object
). I'll try to do the refactoring the next time.
Normal
->Default
perhaps?
Yes. That sounds better.
This PR renames the associated types
ProcessEdgesWorkType
toDefaultProcessEdges
, andTPProcessEdges
toPinningProcessEdges
.The old name
TPProcessEdges
was very confusing because that type alone is not sufficient to implement transitive pinning roots. We rename it toPinningProcessEdges
, removing "transitive" from its name. We also renamedProcessEdgesWorkType
toDefaultProcessEdges
for symmetry. We also updated comments to clarify the purposes of those type members.We also updated the type parameters of
ProcessEdgesWorkRootsWorkFactory<VM, DPE, PPE>
andProcessRootNode<VM, R2OPE, O2OPE>
to clarify their purposes, at the expense of being slightly more verbose.