< prev index next >
src/hotspot/share/gc/g1/heapRegionRemSet.hpp
Print this page
rev 52572 : [mq]: 8213996-remove-sparseprt-table
*** 40,54 ****
class HeapRegionRemSetIterator;
class PerRegionTable;
class SparsePRT;
class nmethod;
- // Essentially a wrapper around SparsePRTCleanupTask. See
- // sparsePRT.hpp for more details.
- class HRRSCleanupTask : public SparsePRTCleanupTask {
- };
-
// The "_coarse_map" is a bitmap with one bit for each region, where set
// bits indicate that the corresponding region may contain some pointer
// into the owning region.
// The "_fine_grain_entries" array is an open hash table of PerRegionTables
--- 40,49 ----
*** 157,168 ****
// Returns the size of the free list content in bytes.
static size_t fl_mem_size();
// Clear the entire contents of this remembered set.
void clear();
-
- void do_cleanup_work(HRRSCleanupTask* hrrs_cleanup_task);
};
class HeapRegionRemSet : public CHeapObj<mtGC> {
friend class VMStructs;
friend class HeapRegionRemSetIterator;
--- 152,161 ----
*** 338,368 ****
// Returns the amount of memory, in bytes, currently
// consumed by the strong code roots.
size_t strong_code_roots_mem_size();
- // Called during a stop-world phase to perform any deferred cleanups.
- static void cleanup();
-
static void invalidate_from_card_cache(uint start_idx, size_t num_regions) {
G1FromCardCache::invalidate(start_idx, num_regions);
}
#ifndef PRODUCT
static void print_from_card_cache() {
G1FromCardCache::print();
}
- #endif
-
- // These are wrappers for the similarly-named methods on
- // SparsePRT. Look at sparsePRT.hpp for more details.
- static void reset_for_cleanup_tasks();
- void do_cleanup_work(HRRSCleanupTask* hrrs_cleanup_task);
- static void finish_cleanup_task(HRRSCleanupTask* hrrs_cleanup_task);
- // Run unit tests.
- #ifndef PRODUCT
static void test();
#endif
};
class HeapRegionRemSetIterator : public StackObj {
--- 331,349 ----
< prev index next >