Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Experimental: Delegating trace_object to a dedicated struct #1278

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

wks
Copy link
Collaborator

@wks wks commented Feb 26, 2025

DRAFT: This is very old, and is not intended to be merged directly.

This PR contains a hypothetical change I made for the purpose of killing the ProcessEdgesWork. The point is, the trace_object method is at the heart of a trace, the counterpart of the Trace or TraceLocal type in the old JikesRVM. Each plan should provide a custom trace_object method instead of a custom ProcessEdgesWork implementation.

On the contrary, a ProcessEdgesWork work packet simply encapsulates enqueued slots, and should contain methods that (1) load from the slots, (2) call trace_object and (3) store the forwarded reference back to the slot. It should not implement the trace_object method itself.

wks added 3 commits June 9, 2022 12:58
Replaced core functinalities of PlanProcessEdges with
PlanTracingDelegate.
But not the related work packets, yet.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant