< prev index next >
src/hotspot/share/gc/shared/space.hpp
Print this page
@@ -606,20 +606,14 @@
void set_concurrent_iteration_safe_limit(HeapWord* new_limit) {
assert(new_limit <= top(), "uninitialized objects in the safe range");
_concurrent_iteration_safe_limit = new_limit;
}
-
-#if INCLUDE_CMSGC
// In support of parallel oop_iterate.
- #define ContigSpace_PAR_OOP_ITERATE_DECL(OopClosureType, nv_suffix) \
+ template <typename OopClosureType>
void par_oop_iterate(MemRegion mr, OopClosureType* blk);
- ALL_PAR_OOP_ITERATE_CLOSURES(ContigSpace_PAR_OOP_ITERATE_DECL)
- #undef ContigSpace_PAR_OOP_ITERATE_DECL
-#endif // INCLUDE_CMSGC
-
// Compaction support
virtual void reset_after_compaction() {
assert(compaction_top() >= bottom() && compaction_top() <= end(), "should point inside space");
set_top(compaction_top());
// set new iteration safe limit
< prev index next >