Skip to content

Commit a058b8c

Browse files
authored
Update some stale comments (#1036)
1 parent 1ac23e7 commit a058b8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/memory_manager.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ pub fn post_alloc<VM: VMBinding>(
220220
/// For a correct barrier implementation, a VM binding needs to choose one of the following options:
221221
/// * Use subsuming barrier `object_reference_write`
222222
/// * Use both `object_reference_write_pre` and `object_reference_write_post`, or both, if the binding has difficulty delegating the store to mmtk-core with the subsuming barrier.
223-
/// * Implement fast-path on the VM side, and call the generic api `object_reference_slow` as barrier slow-path call.
223+
/// * Implement fast-path on the VM side, and call the generic api `object_reference_write_slow` as barrier slow-path call.
224224
/// * Implement fast-path on the VM side, and do a specialized slow-path call.
225225
///
226226
/// Arguments:
@@ -244,7 +244,7 @@ pub fn object_reference_write<VM: VMBinding>(
244244
/// For a correct barrier implementation, a VM binding needs to choose one of the following options:
245245
/// * Use subsuming barrier `object_reference_write`
246246
/// * Use both `object_reference_write_pre` and `object_reference_write_post`, or both, if the binding has difficulty delegating the store to mmtk-core with the subsuming barrier.
247-
/// * Implement fast-path on the VM side, and call the generic api `object_reference_slow` as barrier slow-path call.
247+
/// * Implement fast-path on the VM side, and call the generic api `object_reference_write_slow` as barrier slow-path call.
248248
/// * Implement fast-path on the VM side, and do a specialized slow-path call.
249249
///
250250
/// Arguments:
@@ -270,7 +270,7 @@ pub fn object_reference_write_pre<VM: VMBinding>(
270270
/// For a correct barrier implementation, a VM binding needs to choose one of the following options:
271271
/// * Use subsuming barrier `object_reference_write`
272272
/// * Use both `object_reference_write_pre` and `object_reference_write_post`, or both, if the binding has difficulty delegating the store to mmtk-core with the subsuming barrier.
273-
/// * Implement fast-path on the VM side, and call the generic api `object_reference_slow` as barrier slow-path call.
273+
/// * Implement fast-path on the VM side, and call the generic api `object_reference_write_slow` as barrier slow-path call.
274274
/// * Implement fast-path on the VM side, and do a specialized slow-path call.
275275
///
276276
/// Arguments:

0 commit comments

Comments
 (0)