-
Dominik Inführ authored
This CL adds additional checks for typed slots cleanup in the sweeper: 1) Old-to-old typed slots should never be removed during sweeping. Such slots are only ever recorded on live code objects (which are never e.g. right-trimmed or invalidated). 2) Old-to-new typed slots should never be removed when sweeping lazily or concurrently. New space is empty after a full GC, therefore the old-to-new typed slots are also cleared during a full GC. The main thread can record new slots but not in free memory. Bug: v8:12760 Change-Id: I7b507c862e43a15437e8ee609c6c2af0abf3a5ec Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3568479Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Dominik Inführ <dinfuehr@chromium.org> Cr-Commit-Position: refs/heads/main@{#79814}
5cd917d5