File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 20
20
//! * GC components:
21
21
//! * [Allocators](util/alloc/allocator/trait.Allocator.html): handlers of allocation requests which allocate objects to the bound space.
22
22
//! * [Policies](policy/space/trait.Space.html): definitions of semantics and behaviors for memory regions.
23
- //! Each space is an instance of a policy, and takes up a unique proportion of the heap.
23
+ //! Each space is an instance of a policy, and takes up a unique proportion of the heap.
24
24
//! * [Work packets](scheduler/work/trait.GCWork.html): units of GC work scheduled by the MMTk's scheduler.
25
25
//! * [GC plans](plan/global/trait.Plan.html): GC algorithms composed from components.
26
26
//! * [Heap implementations](util/heap/index.html): the underlying implementations of memory resources that support spaces.
Original file line number Diff line number Diff line change @@ -568,7 +568,7 @@ impl<VM: VMBinding> MMTK<VM> {
568
568
/// Arguments:
569
569
/// * `out`: the place to print the VM maps.
570
570
/// * `space_name`: If `None`, print all spaces;
571
- /// if `Some(n)`, only print the space whose name is `n`.
571
+ /// if `Some(n)`, only print the space whose name is `n`.
572
572
pub fn debug_print_vm_maps (
573
573
& self ,
574
574
out : & mut impl std:: fmt:: Write ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ pub enum VMRequest {
12
12
13
13
impl VMRequest {
14
14
pub fn is_discontiguous ( & self ) -> bool {
15
- matches ! ( self , VMRequest :: Discontiguous { .. } )
15
+ matches ! ( self , VMRequest :: Discontiguous )
16
16
}
17
17
18
18
pub fn common64bit ( top : bool ) -> Self {
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ pub trait ActivePlan<VM: VMBinding> {
48
48
///
49
49
/// Arguments:
50
50
/// * `queue`: The object queue. If an object is encountered for the first time in this GC, we expect the implementation to call `queue.enqueue()`
51
- /// for the object. If the object is moved during the tracing, the new object reference (after copying) should be enqueued instead.
51
+ /// for the object. If the object is moved during the tracing, the new object reference (after copying) should be enqueued instead.
52
52
/// * `object`: The object to trace.
53
53
/// * `worker`: The GC worker that is doing this tracing. This is used to copy object (see [`crate::vm::ObjectModel::copy`])
54
54
fn vm_trace_object < Q : ObjectQueue > (
You can’t perform that action at this time.
0 commit comments