Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mmtk/src/collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ impl Collection<JuliaVM> for VMCollection {
// FIXME add wait var
}

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.");

trace!("Stopped the world!");
#[cfg(feature = "heap_dump")]
dump_heap(GC_COUNT.load(Ordering::SeqCst), 0);
Expand Down