in the second task of assignment 6, do we really need to trigger every WeakRefV in the store to be invalid for every call of the garbage collection (A), or only the ones which point to null values (B)? I personally think that (B) makes more sense, but the text in the task sounds more like (A) to me. Additionally, both versions pass the given tests.
Assignment 6 task 2 hat geschrieben:Each garbage collection must trigger every WeakRefV in the store to be invalid,
i.e. rewrite the reference in the WeakRefV to the given value INVALID_LOC.