< prev index next >
src/share/vm/gc/g1/heapRegionRemSet.hpp
Print this page
*** 32,42 ****
// Remembered set for a heap region. Represent a set of "cards" that
// contain pointers into the owner heap region. Cards are defined somewhat
// abstractly, in terms of what the "BlockOffsetTable" in use can parse.
class G1CollectedHeap;
! class G1BlockOffsetSharedArray;
class HeapRegion;
class HeapRegionRemSetIterator;
class PerRegionTable;
class SparsePRT;
class nmethod;
--- 32,42 ----
// Remembered set for a heap region. Represent a set of "cards" that
// contain pointers into the owner heap region. Cards are defined somewhat
// abstractly, in terms of what the "BlockOffsetTable" in use can parse.
class G1CollectedHeap;
! class G1BlockOffsetTable;
class HeapRegion;
class HeapRegionRemSetIterator;
class PerRegionTable;
class SparsePRT;
class nmethod;
*** 172,182 ****
class HeapRegionRemSet : public CHeapObj<mtGC> {
friend class VMStructs;
friend class HeapRegionRemSetIterator;
private:
! G1BlockOffsetSharedArray* _bosa;
// A set of code blobs (nmethods) whose code contains pointers into
// the region that owns this RSet.
G1CodeRootSet _code_roots;
--- 172,182 ----
class HeapRegionRemSet : public CHeapObj<mtGC> {
friend class VMStructs;
friend class HeapRegionRemSetIterator;
private:
! G1BlockOffsetTable* _bot;
// A set of code blobs (nmethods) whose code contains pointers into
// the region that owns this RSet.
G1CodeRootSet _code_roots;
*** 187,197 ****
enum ParIterState { Unclaimed, Claimed, Complete };
volatile ParIterState _iter_state;
volatile size_t _iter_claimed;
public:
! HeapRegionRemSet(G1BlockOffsetSharedArray* bosa, HeapRegion* hr);
static void setup_remset_size();
bool is_empty() const {
return (strong_code_roots_list_length() == 0) && _other_regions.is_empty();
--- 187,197 ----
enum ParIterState { Unclaimed, Claimed, Complete };
volatile ParIterState _iter_state;
volatile size_t _iter_claimed;
public:
! HeapRegionRemSet(G1BlockOffsetTable* bot, HeapRegion* hr);
static void setup_remset_size();
bool is_empty() const {
return (strong_code_roots_list_length() == 0) && _other_regions.is_empty();
*** 348,358 ****
HeapRegionRemSet* _hrrs;
// Local caching of HRRS fields.
const BitMap* _coarse_map;
! G1BlockOffsetSharedArray* _bosa;
G1CollectedHeap* _g1h;
// The number of cards yielded since initialization.
size_t _n_yielded_fine;
size_t _n_yielded_coarse;
--- 348,358 ----
HeapRegionRemSet* _hrrs;
// Local caching of HRRS fields.
const BitMap* _coarse_map;
! G1BlockOffsetTable* _bot;
G1CollectedHeap* _g1h;
// The number of cards yielded since initialization.
size_t _n_yielded_fine;
size_t _n_yielded_coarse;
< prev index next >