Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
//! * GC components:
//! * [Allocators](util/alloc/allocator/trait.Allocator.html): handlers of allocation requests which allocate objects to the bound space.
//! * [Policies](policy/space/trait.Space.html): definitions of semantics and behaviors for memory regions.
//! Each space is an instance of a policy, and takes up a unique proportion of the heap.
//! Each space is an instance of a policy, and takes up a unique proportion of the heap.
//! * [Work packets](scheduler/work/trait.GCWork.html): units of GC work scheduled by the MMTk's scheduler.
//! * [GC plans](plan/global/trait.Plan.html): GC algorithms composed from components.
//! * [Heap implementations](util/heap/index.html): the underlying implementations of memory resources that support spaces.
Expand Down
2 changes: 1 addition & 1 deletion src/mmtk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ impl<VM: VMBinding> MMTK<VM> {
/// Arguments:
/// * `out`: the place to print the VM maps.
/// * `space_name`: If `None`, print all spaces;
/// if `Some(n)`, only print the space whose name is `n`.
/// if `Some(n)`, only print the space whose name is `n`.
pub fn debug_print_vm_maps(
&self,
out: &mut impl std::fmt::Write,
Expand Down
2 changes: 1 addition & 1 deletion src/util/heap/vmrequest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub enum VMRequest {

impl VMRequest {
pub fn is_discontiguous(&self) -> bool {
matches!(self, VMRequest::Discontiguous { .. })
matches!(self, VMRequest::Discontiguous)
}

pub fn common64bit(top: bool) -> Self {
Expand Down
2 changes: 1 addition & 1 deletion src/vm/active_plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub trait ActivePlan<VM: VMBinding> {
///
/// Arguments:
/// * `queue`: The object queue. If an object is encountered for the first time in this GC, we expect the implementation to call `queue.enqueue()`
/// for the object. If the object is moved during the tracing, the new object reference (after copying) should be enqueued instead.
/// for the object. If the object is moved during the tracing, the new object reference (after copying) should be enqueued instead.
/// * `object`: The object to trace.
/// * `worker`: The GC worker that is doing this tracing. This is used to copy object (see [`crate::vm::ObjectModel::copy`])
fn vm_trace_object<Q: ObjectQueue>(
Expand Down