src/share/vm/gc_implementation/g1/heapRegionRemSet.hpp

Print this page
rev 5920 : 8035406: Improve data structure for Code Cache remembered sets
Summary: Change the code cache remembered sets data structure from a GrowableArray to a chunked list of nmethods. This makes the data structure more amenable to parallelization, and decreases freeing time.
Reviewed-by:
rev 5921 : 8027295: Free CSet takes ~50% of young pause time
Summary: Improve fast card cache iteration and avoid taking locks when freeing the collection set.
Reviewed-by:

@@ -157,10 +157,11 @@
 
   bool contains_reference(OopOrNarrowOopStar from) const;
   bool contains_reference_locked(OopOrNarrowOopStar from) const;
 
   void clear();
+  void clear_locked();
 
   // Specifically clear the from_card_cache.
   void clear_fcc();
 
   // "from_hr" is being cleared; remove any entries from it.