v3 VM: Closures and GC Checkpoint

Predict fresh artifacts, diagnose a broken invariant, and test a version boundary. Select one answer per multiple-choice question; numeric responses use the stated integer format. Use review links to revisit the relevant representation, then attempt the independent transfer task.


Get every question correct to pass this checkpoint. You can review feedback, revise your answers, and submit again.

1. A rooted map M holds array A, which holds closure C. C captures an environment pointing back to M. Unrooted array U also exists. How many tracked Objects remain after GC? Enter only the requested integer.
2. A closure and its captured environment refer back to each other, but no root reaches either. Must the closure remain?

Select one answer.

3. Which edge must this collector traverse from a map Object?

Select one answer.

4. Why clear survivor marks after sweeping?

Select one answer.

5. A closure created in environment D is invoked by a caller in environment C. What is the parent of its new call environment?

Select one answer.

Join Discord