Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
8242375: Shenandoah: Remove ShenandoahHeuristic::record_gc_start/end …
…methods
Reviewed-by: shade, rkennke
- Loading branch information
|
@@ -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 @@ class ShenandoahHeuristics : public CHeapObj<mtGC> { |
|
|
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 @@ class ShenandoahGCPauseMark : public StackObj { |
|
|
|
|
|
public: |
|
|
ShenandoahGCPauseMark(uint gc_id, SvcGCMarker::reason_type type); |
|
|
~ShenandoahGCPauseMark(); |
|
|
}; |
|
|
|
|
|
class ShenandoahSafepoint : public AllStatic { |
|
|