Skip to content

Commit

Permalink
Check FULL_NURSERY_GC for StickyImmix as well (#1124)
Browse files Browse the repository at this point in the history
  • Loading branch information
k-sareen authored Apr 19, 2024
1 parent e79e94e commit 491a607
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/plan/sticky/immix/global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,11 @@ impl<VM: VMBinding> StickyImmix<VM> {
fn requires_full_heap_collection(&self) -> bool {
// Separate each condition so the code is clear
#[allow(clippy::if_same_then_else, clippy::needless_bool)]
if self
if crate::plan::generational::FULL_NURSERY_GC {
trace!("full heap: forced full heap");
// For barrier overhead measurements, we always do full gc in nursery collections.
true
} else if self
.immix
.common
.base
Expand Down

0 comments on commit 491a607

Please sign in to comment.