< prev index next >
src/hotspot/share/gc/shenandoah/shenandoahCollectorPolicy.hpp
Print this page
rev 50076 : Fold Partial GC into Traversal GC
@@ -39,11 +39,10 @@
class ShenandoahHeuristics;
class outputStream;
class ShenandoahCollectorPolicy: public CollectorPolicy {
private:
- size_t _success_partial_gcs;
size_t _success_concurrent_gcs;
size_t _success_degenerated_gcs;
size_t _success_full_gcs;
size_t _alloc_failure_degenerated;
size_t _alloc_failure_degenerated_upgrade_to_full;
@@ -53,11 +52,10 @@
size_t _degen_points[ShenandoahHeap::_DEGENERATED_LIMIT];
ShenandoahSharedFlag _in_shutdown;
ShenandoahHeuristics* _heuristics;
- ShenandoahHeuristics* _minor_heuristics;
ShenandoahTracer* _tracer;
size_t _cycle_counter;
@@ -86,24 +84,21 @@
void record_cycle_start();
void record_cycle_end();
void record_phase_time(ShenandoahPhaseTimings::Phase phase, double secs);
- void record_success_partial();
void record_success_concurrent();
void record_success_degenerated();
void record_success_full();
void record_alloc_failure_to_degenerated(ShenandoahHeap::ShenandoahDegenPoint point);
void record_alloc_failure_to_full();
void record_degenerated_upgrade_to_full();
void record_explicit_to_concurrent();
void record_explicit_to_full();
bool should_start_normal_gc();
- bool should_start_partial_gc();
- bool can_do_partial_gc();
- bool should_start_traversal_gc();
+ ShenandoahHeap::GCCycleMode should_start_traversal_gc();
bool can_do_traversal_gc();
// Returns true when there should be a separate concurrent reference
// updating phase after evacuation.
bool should_start_update_refs();
< prev index next >