-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't panic if forwarding word is not FORWARDED and add debug asserti…
…ons (#580) * Don't panic if forwarding word is not FORWARDED and add debug assertions Some policies (such as Immix) can leave objects inplace and can reset the forwarding word while tracing (such as when Immix is out of space in its copy allocators). In such a case, we simply want to return the current object instead of attempting to read the forwarding pointer. This commit removes our faulty assumption and assertion and adds further debug assertions for a sanity check. Closes #579
- Loading branch information
Showing
2 changed files
with
43 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters