Skip to content

Commit 167536c

Browse files
committed
Remove mmapper from plan
1 parent 49d44bd commit 167536c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/plan/global.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,6 @@ pub trait Plan: 'static + Sync + Downcast {
185185
) -> Option<&dyn crate::plan::generational::global::GenerationalPlan<VM = Self::VM>> {
186186
None
187187
}
188-
fn mmapper(&self) -> &'static dyn Mmapper {
189-
self.base().mmapper
190-
}
191188
fn options(&self) -> &Options {
192189
&self.base().options
193190
}
@@ -381,7 +378,6 @@ pub struct BasePlan<VM: VMBinding> {
381378
pub cur_collection_attempts: AtomicUsize,
382379
pub gc_requester: Arc<GCRequester<VM>>,
383380
pub stats: Stats,
384-
mmapper: &'static dyn Mmapper,
385381
pub vm_map: &'static dyn Map,
386382
pub options: Arc<Options>,
387383
pub heap: HeapMeta,
@@ -540,7 +536,6 @@ impl<VM: VMBinding> BasePlan<VM> {
540536
cur_collection_attempts: AtomicUsize::new(0),
541537
gc_requester: Arc::new(GCRequester::new()),
542538
stats,
543-
mmapper: args.global_args.mmapper,
544539
heap: args.global_args.heap,
545540
gc_trigger: args.global_args.gc_trigger,
546541
vm_map: args.global_args.vm_map,

0 commit comments

Comments
 (0)