Skip to content

Commit

Permalink
Changing heapsize so it doesn't overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
udesou committed Jan 30, 2024
1 parent 4797c8e commit c28d24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit c28d24b

Please sign in to comment.