--- old/src/share/vm/gc/g1/heapRegionRemSet.hpp 2015-11-05 13:11:30.672564690 +0100 +++ new/src/share/vm/gc/g1/heapRegionRemSet.hpp 2015-11-05 13:11:30.568564693 +0100 @@ -220,11 +220,6 @@ friend class VMStructs; friend class HeapRegionRemSetIterator; -public: - enum Event { - Event_EvacStart, Event_EvacEnd, Event_RSUpdateEnd, Event_illegal - }; - private: G1BlockOffsetSharedArray* _bosa; @@ -240,21 +235,6 @@ 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); @@ -404,10 +384,6 @@ } #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();