From c28d24bff95133ceb2c67620cb57ef09d3d9591b Mon Sep 17 00:00:00 2001 From: Eduardo Souza Date: Tue, 30 Jan 2024 03:35:41 +0000 Subject: [PATCH] Changing heapsize so it doesn't overflow --- benches/alloc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/alloc.rs b/benches/alloc.rs index 99482e3034..3997fa72b1 100644 --- a/benches/alloc.rs +++ b/benches/alloc.rs @@ -6,7 +6,7 @@ use mmtk::AllocationSemantics; pub fn bench(c: &mut Criterion) { // Setting a larger heap so we won't trigger GC, but we should disable GC if we can - let mut fixture = MutatorFixture::create_with_heapsize(1 << 60); + let mut fixture = MutatorFixture::create_with_heapsize(1 << 50); c.bench_function("alloc", |b| { b.iter(|| { let _addr =