Skip to content

Commit 02b5b14

Browse files
authored
Use updated location of constant
1 parent b6fcbc6 commit 02b5b14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mmtk/src/scanning.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use mmtk::MutatorContext;
1212

1313
pub struct VMScanning {}
1414

15-
pub(crate) const WORK_PACKET_CAPACITY: usize = mmtk::util::constants::BUFFER_SIZE;
15+
pub(crate) const WORK_PACKET_CAPACITY: usize = mmtk::scheduler::gc_work::EDGES_WORK_BUFFER_SIZE;
1616

1717
extern "C" fn report_slots_and_renew_buffer<S: Slot, F: RootsWorkFactory<S>>(
1818
ptr: *mut Address,

0 commit comments

Comments
 (0)