You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assert collection is enabled when GC starts (#279)
This PR adds an assertion to check if GC is always enabled when we stop
threads for a GC. If we see this assertion fail, we will know it is
related with #278.
Copy file name to clipboardExpand all lines: mmtk/src/collection.rs
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,8 @@ impl Collection<JuliaVM> for VMCollection {
59
59
// FIXME add wait var
60
60
}
61
61
62
+
assert!(Self::is_collection_enabled(),"Collection is disabled when threads are stopped for a GC. This is a concurrency bug, see https://github.com/mmtk/mmtk-julia/issues/278.");
0 commit comments