File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,10 @@ pub fn mmtk_init<VM: VMBinding>(builder: &MMTKBuilder) -> Box<MMTK<VM>> {
92
92
/// Currently we do not allow removing regions from VM space.
93
93
#[ cfg( feature = "vm_space" ) ]
94
94
pub fn set_vm_space < VM : VMBinding > ( mmtk : & ' static mut MMTK < VM > , start : Address , size : usize ) {
95
- unsafe { mmtk. get_plan_mut ( ) } . base_mut ( ) . vm_space . set_vm_region ( start, size) ;
95
+ unsafe { mmtk. get_plan_mut ( ) }
96
+ . base_mut ( )
97
+ . vm_space
98
+ . set_vm_region ( start, size) ;
96
99
}
97
100
98
101
/// Request MMTk to create a mutator for the given thread. The ownership
Original file line number Diff line number Diff line change @@ -56,7 +56,9 @@ impl Map64 {
56
56
// elide the storing of 0 for each of the element. Using standard vector creation,
57
57
// such as `vec![SpaceDescriptor::UNINITIALIZED; MAX_CHUNKS]`, will cause severe
58
58
// slowdown during start-up.
59
- descriptor_map : unsafe { new_zeroed_vec :: < SpaceDescriptor > ( vm_layout ( ) . max_chunks ( ) ) } ,
59
+ descriptor_map : unsafe {
60
+ new_zeroed_vec :: < SpaceDescriptor > ( vm_layout ( ) . max_chunks ( ) )
61
+ } ,
60
62
high_water,
61
63
base_address,
62
64
fl_page_resources : vec ! [ None ; MAX_SPACES ] ,
You can’t perform that action at this time.
0 commit comments