Skip to content

Commit b6fcbc6

Browse files
committed
Use buffer size exported from MMTk core
1 parent 1abbc89 commit b6fcbc6

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 = 4096;
15+
pub(crate) const WORK_PACKET_CAPACITY: usize = mmtk::util::constants::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)