< prev index next >
src/hotspot/share/gc/g1/heapRegionRemSet.hpp
Print this page
rev 52572 : imported patch 8213996-remove-sparseprt-table
rev 52573 : [mq]: 8213996-remove-sparseprt-table-more-cleanup
*** 115,124 ****
--- 115,128 ----
// unlink/remove the given fine grain remembered set into the "all" list
void unlink_from_all(PerRegionTable * prt);
bool contains_reference_locked(OopOrNarrowOopStar from) const;
+ size_t occ_fine() const;
+ size_t occ_coarse() const;
+ size_t occ_sparse() const;
+
public:
// Create a new remembered set. The given mutex is used to ensure consistency.
OtherRegionsTable(Mutex* m);
// Returns the card index of the given within_region pointer relative to the bottom
*** 137,149 ****
// Returns whether this remembered set (and all sub-sets) does not contain any entry.
bool is_empty() const;
// Returns the number of cards contained in this remembered set.
size_t occupied() const;
- size_t occ_fine() const;
- size_t occ_coarse() const;
- size_t occ_sparse() const;
static jint n_coarsenings() { return _n_coarsenings; }
// Returns size of the actual remembered set containers in bytes.
size_t mem_size() const;
--- 141,150 ----
*** 197,215 ****
return occupied_locked();
}
size_t occupied_locked() {
return _other_regions.occupied();
}
- size_t occ_fine() const {
- return _other_regions.occ_fine();
- }
- size_t occ_coarse() const {
- return _other_regions.occ_coarse();
- }
- size_t occ_sparse() const {
- return _other_regions.occ_sparse();
- }
static jint n_coarsenings() { return OtherRegionsTable::n_coarsenings(); }
private:
enum RemSetState {
--- 198,207 ----
< prev index next >