< prev index next >
src/hotspot/share/gc/shared/adaptiveSizePolicy.hpp
Print this page
rev 52963 : 8212206: Refactor AdaptiveSizePolicy to separate out code related to GC overhead
Summary: Move check_gc_overhead_limit() and related code to its own class
Reviewed-by:
@@ -24,12 +24,12 @@
#ifndef SHARE_VM_GC_SHARED_ADAPTIVESIZEPOLICY_HPP
#define SHARE_VM_GC_SHARED_ADAPTIVESIZEPOLICY_HPP
#include "gc/shared/gcCause.hpp"
+#include "gc/shared/gcOverheadChecker.hpp"
#include "gc/shared/gcUtil.hpp"
-#include "gc/shared/overheadChecker.hpp"
#include "memory/allocation.hpp"
// This class keeps statistical information and computes the
// size of the heap.
@@ -80,11 +80,11 @@
size_t _promo_size; // calculated cms gen free space in bytes
size_t _survivor_size; // calculated survivor size in bytes
// Support for UseGCOverheadLimit
- OverheadChecker _overhead_checker;
+ GCOverheadChecker _overhead_checker;
// Minor collection timers used to determine both
// pause and interval times for collections
static elapsedTimer _minor_timer;
< prev index next >