< prev index next >

src/hotspot/share/gc/shared/cardTable.cpp

Print this page

        

*** 77,87 **** _cur_covered_regions = 0; const size_t rs_align = _page_size == (size_t) os::vm_page_size() ? 0 : MAX2(_page_size, (size_t) os::vm_allocation_granularity()); ! ReservedSpace heap_rs(_byte_map_size, rs_align); MemTracker::record_virtual_memory_type((address)heap_rs.base(), mtGC); os::trace_page_sizes("Card Table", _guard_index + 1, _guard_index + 1, _page_size, heap_rs.base(), heap_rs.size()); --- 77,87 ---- _cur_covered_regions = 0; const size_t rs_align = _page_size == (size_t) os::vm_page_size() ? 0 : MAX2(_page_size, (size_t) os::vm_allocation_granularity()); ! ReservedSpace heap_rs(_byte_map_size, rs_align, false); MemTracker::record_virtual_memory_type((address)heap_rs.base(), mtGC); os::trace_page_sizes("Card Table", _guard_index + 1, _guard_index + 1, _page_size, heap_rs.base(), heap_rs.size());
< prev index next >