-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Commit b9789d2 introduced a new concept called the "handle set" which makes VM code that references heap objects significantly simpler to write. All code that directly used heap.track has been converted to the new approach; however, code that might currently be silently doing the wrong thing has not been thoroughly audited. All VM code that deals with operating on heap objects should be audited to ensure all heap references are correctly tracked with handle sets. In particular:
- All primitives (including ones that have already been converted for potential mistakes)
-
runtime/interpreter.zig -
runtime/Actor.zig -
runtime/VirtualMachine.zig
This issue can be closed once we're confident that all relevant code correctly tracks heap references (basically any code that calls heap.allocate or calls into code that does, and deals with heap references).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request