< prev index next >

src/hotspot/share/gc/g1/g1CollectionSetChooser.hpp

Print this page
rev 53416 : imported patch 8217330-split-collectionsetchooser
rev 53418 : imported patch 8217328-rename-collectionsetchooser

@@ -20,26 +20,26 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  *
  */
 
-#ifndef SHARE_GC_G1_COLLECTIONSETCHOOSER_HPP
-#define SHARE_GC_G1_COLLECTIONSETCHOOSER_HPP
+#ifndef SHARE_GC_G1_G1COLLECTIONSETCHOOSER_HPP
+#define SHARE_GC_G1_G1COLLECTIONSETCHOOSER_HPP
 
 #include "gc/g1/heapRegion.hpp"
 #include "memory/allocation.hpp"
 #include "runtime/globals.hpp"
 
 class G1CollectionSetCandidates;
 class WorkGang;
 
 // Helper class to calculate collection set candidates, and containing some related
 // methods.
-class CollectionSetChooser : public AllStatic {
+class G1CollectionSetChooser : public AllStatic {
   static uint calculate_work_chunk_size(uint num_workers, uint num_regions);
 public:
-  CollectionSetChooser();
+  G1CollectionSetChooser();
 
   static size_t mixed_gc_live_threshold_bytes() {
     return HeapRegion::GrainBytes * (size_t) G1MixedGCLiveThresholdPercent / 100;
   }
 

@@ -56,6 +56,6 @@
   // Build and return set of collection set candidates sorted by decreasing gc
   // efficiency.
   static G1CollectionSetCandidates* build(WorkGang* workers, uint max_num_regions);
 };
 
-#endif // SHARE_GC_G1_COLLECTIONSETCHOOSER_HPP
+#endif // SHARE_GC_G1_G1COLLECTIONSETCHOOSER_HPP
< prev index next >