be5c3c123e
Instead use external pointer block lists so that the same weakling can be pending for both minor and major GC at the same time. When we begin marking through new-space in major GCs, this will need to happen for weaklings in new-space. Once the pending lists are independent, it is easy to handle the reverse case. This also improves the promptness with which old-space weaklings with unreachable new-space targets are clear. TEST=ci Change-Id: I46a0a78eeae0210caad48a162c8d64a9af79e749 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/314863 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Siva Annamalai <asiva@google.com>