8242375: Shenandoah: Remove ShenandoahHeuristic::record_gc_start/end methods

Reviewed-by: shade, rkennke
This commit is contained in:
Zhengyu Gu 2020-04-08 11:21:40 -04:00
parent 1c651455a7
commit 29b0912bc3
4 changed files with 0 additions and 19 deletions

View File

@ -174,14 +174,6 @@ void ShenandoahHeuristics::choose_collection_set(ShenandoahCollectionSet* collec
cset_percent);
}
void ShenandoahHeuristics::record_gc_start() {
// Do nothing
}
void ShenandoahHeuristics::record_gc_end() {
// Do nothing
}
void ShenandoahHeuristics::record_cycle_start() {
_cycle_start = os::elapsedTime();
}

View File

@ -96,10 +96,6 @@ public:
ShenandoahHeuristics();
virtual ~ShenandoahHeuristics();
void record_gc_start();
void record_gc_end();
void record_metaspace_oom() { _metaspace_oom.set(); }
void clear_metaspace_oom() { _metaspace_oom.unset(); }
bool has_metaspace_oom() const { return _metaspace_oom.is_set(); }

View File

@ -83,12 +83,6 @@ ShenandoahGCPauseMark::ShenandoahGCPauseMark(uint gc_id, SvcGCMarker::reason_typ
/* recordGCEndTime = */ true,
/* countCollection = */ true
);
_heap->heuristics()->record_gc_start();
}
ShenandoahGCPauseMark::~ShenandoahGCPauseMark() {
_heap->heuristics()->record_gc_end();
}
ShenandoahPausePhase::ShenandoahPausePhase(const char* title) :

View File

@ -120,7 +120,6 @@ private:
public:
ShenandoahGCPauseMark(uint gc_id, SvcGCMarker::reason_type type);
~ShenandoahGCPauseMark();
};
class ShenandoahSafepoint : public AllStatic {