-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issues in sanity GC #1079
Fix issues in sanity GC #1079
Conversation
I also think it is safe to remove the |
I removed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There are some example code in the documentation that still uses the |
binding-refs |
This PR fixes two issues in sanity GC. * It fixes mmtk#1078 by removing the code to prepare/release mutator/collector, which seems unnecessary. * It replaces the use of `ScanObjects` for cached root nodes with `ProcessRootNode`. Otherwise, the assertion `assert!(!self.roots())` will fail in `ScanObjectsWork::do_work_common`.
This PR fixes two issues in sanity GC.
ScanObjects
for cached root nodes withProcessRootNode
. Otherwise, the assertionassert!(!self.roots())
will fail inScanObjectsWork::do_work_common
.