< prev index next >

src/share/vm/gc/g1/g1RegionToSpaceMapper.hpp

Print this page
rev 11970 : imported patch 8157952-parallelize-memory-pretouch

*** 27,36 **** --- 27,38 ---- #include "gc/g1/g1PageBasedVirtualSpace.hpp" #include "memory/allocation.hpp" #include "utilities/debug.hpp" + class WorkGang; + class G1MappingChangedListener VALUE_OBJ_CLASS_SPEC { public: // Fired after commit of the memory, i.e. the memory this listener is registered // for can be accessed. // Zero_filled indicates that the memory can be considered as filled with zero bytes
*** 66,76 **** bool is_committed(uintptr_t idx) const { return _commit_map.at(idx); } ! virtual void commit_regions(uint start_idx, size_t num_regions = 1) = 0; virtual void uncommit_regions(uint start_idx, size_t num_regions = 1) = 0; // Creates an appropriate G1RegionToSpaceMapper for the given parameters. // The actual space to be used within the given reservation is given by actual_size. // This is because some OSes need to round up the reservation size to guarantee --- 68,78 ---- bool is_committed(uintptr_t idx) const { return _commit_map.at(idx); } ! virtual void commit_regions(uint start_idx, size_t num_regions = 1, WorkGang* pretouch_workers = NULL) = 0; virtual void uncommit_regions(uint start_idx, size_t num_regions = 1) = 0; // Creates an appropriate G1RegionToSpaceMapper for the given parameters. // The actual space to be used within the given reservation is given by actual_size. // This is because some OSes need to round up the reservation size to guarantee
< prev index next >