8242375: Shenandoah: Remove ShenandoahHeuristic::record_gc_start/end methods
Reviewed-by: shade, rkennke
This commit is contained in:
parent
1c651455a7
commit
29b0912bc3
@ -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();
|
||||
}
|
||||
|
@ -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(); }
|
||||
|
@ -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) :
|
||||
|
@ -120,7 +120,6 @@ private:
|
||||
|
||||
public:
|
||||
ShenandoahGCPauseMark(uint gc_id, SvcGCMarker::reason_type type);
|
||||
~ShenandoahGCPauseMark();
|
||||
};
|
||||
|
||||
class ShenandoahSafepoint : public AllStatic {
|
||||
|
Loading…
x
Reference in New Issue
Block a user