< prev index next >

src/hotspot/share/gc/shenandoah/heuristics/shenandoahStaticHeuristics.hpp

Print this page
@@ -25,13 +25,18 @@
  #ifndef SHARE_GC_SHENANDOAH_HEURISTICS_SHENANDOAHSTATICHEURISTICS_HPP
  #define SHARE_GC_SHENANDOAH_HEURISTICS_SHENANDOAHSTATICHEURISTICS_HPP
  
  #include "gc/shenandoah/heuristics/shenandoahHeuristics.hpp"
  
+ /*
+  * The static heuristic will trigger cycles if the available memory falls
+  * below ShenandoahMinFreeThreshold percentage of total capacity. This
+  * heuristic will attempt to evacuation any region with any garbage.
+  */
  class ShenandoahStaticHeuristics : public ShenandoahHeuristics {
  public:
-   ShenandoahStaticHeuristics();
+   ShenandoahStaticHeuristics(ShenandoahSpaceInfo* space_info);
  
    virtual ~ShenandoahStaticHeuristics();
  
    virtual bool should_start_gc();
  
< prev index next >