Skip to content

Commit 1547428

Browse files
committed
Print stats for sticky immix as well
1 parent 06284e1 commit 1547428

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/plan/sticky/immix/global.rs

+6
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ impl<VM: VMBinding> Plan for StickyImmix<VM> {
8080
self.immix.common()
8181
}
8282

83+
#[cfg(feature = "dump_memory_stats")]
84+
fn dump_memory_stats(&self) {
85+
self.immix.immix_space.dump_memory_stats();
86+
self.common().los.dump_memory_stats();
87+
}
88+
8389
fn schedule_collection(&'static self, scheduler: &crate::scheduler::GCWorkScheduler<Self::VM>) {
8490
let is_full_heap = self.requires_full_heap_collection();
8591
self.gc_full_heap.store(is_full_heap, Ordering::SeqCst);

0 commit comments

Comments
 (0)