Skip to content

Commit 63843b1

Browse files
committed
8309907: Remove unused _print_gc_overhead_limit_would_be_exceeded
Reviewed-by: tschatzl
1 parent 6d05360 commit 63843b1

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/hotspot/share/gc/shared/gcOverheadChecker.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030

3131
GCOverheadChecker::GCOverheadChecker() :
3232
_gc_overhead_limit_exceeded(false),
33-
_print_gc_overhead_limit_would_be_exceeded(false),
3433
_gc_overhead_limit_count(0) {
3534
assert(GCOverheadLimitThreshold > 0,
3635
"No opportunity to clear SoftReferences before GC overhead limit");

src/hotspot/share/gc/shared/gcOverheadChecker.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ class GCOverheadChecker: public CHeapObj<mtGC> {
4242
// This is a hint for the heap: we've detected that GC times
4343
// are taking longer than GCTimeLimit allows.
4444
bool _gc_overhead_limit_exceeded;
45-
// Use for diagnostics only. If UseGCOverheadLimit is false,
46-
// this variable is still set.
47-
bool _print_gc_overhead_limit_would_be_exceeded;
4845
// Count of consecutive GC that have exceeded the
4946
// GC time limit criterion
5047
uint _gc_overhead_limit_count;

0 commit comments

Comments
 (0)