< prev index next >
src/share/vm/gc/g1/heapRegionRemSet.hpp
Print this page
*** 218,232 ****
class HeapRegionRemSet : public CHeapObj<mtGC> {
friend class VMStructs;
friend class HeapRegionRemSetIterator;
- public:
- enum Event {
- Event_EvacStart, Event_EvacEnd, Event_RSUpdateEnd, Event_illegal
- };
-
private:
G1BlockOffsetSharedArray* _bosa;
// A set of code blobs (nmethods) whose code contains pointers into
// the region that owns this RSet.
--- 218,227 ----
*** 238,262 ****
enum ParIterState { Unclaimed, Claimed, Complete };
volatile ParIterState _iter_state;
volatile size_t _iter_claimed;
- // Unused unless G1RecordHRRSOops is true.
-
- static const int MaxRecorded = 1000000;
- static OopOrNarrowOopStar* _recorded_oops;
- static HeapWord** _recorded_cards;
- static HeapRegion** _recorded_regions;
- static int _n_recorded;
-
- static const int MaxRecordedEvents = 1000;
- static Event* _recorded_events;
- static int* _recorded_event_index;
- static int _n_recorded_events;
-
- static void print_event(outputStream* str, Event evnt);
-
public:
HeapRegionRemSet(G1BlockOffsetSharedArray* bosa, HeapRegion* hr);
static uint num_par_rem_sets();
static void setup_remset_size();
--- 233,242 ----
*** 402,415 ****
static void print_from_card_cache() {
FromCardCache::print();
}
#endif
- static void record(HeapRegion* hr, OopOrNarrowOopStar f);
- static void print_recorded();
- static void record_event(Event evnt);
-
// 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);
--- 382,391 ----
< prev index next >