--- a/src/hotspot/share/gc/epsilon/epsilonMonitoringSupport.cpp Mon Mar 26 16:01:23 2018 +0200
+++ b/src/hotspot/share/gc/epsilon/epsilonMonitoringSupport.cpp Mon Mar 26 16:18:35 2018 +0200
@@ -82,16 +82,6 @@
};
-class EpsilonYoungGenerationCounters : public GenerationCounters {
-public:
- EpsilonYoungGenerationCounters() :
- GenerationCounters("Young", 0, 0, 0, (size_t)0, (size_t)0) {};
-
- virtual void update_all() {
- // no update
- }
-};
-
class EpsilonGenerationCounters : public GenerationCounters {
private:
EpsilonHeap* _heap;
@@ -107,8 +97,6 @@
};
EpsilonMonitoringSupport::EpsilonMonitoringSupport(EpsilonHeap* heap) {
- // We report young gen as unused.
- _young_counters = new EpsilonYoungGenerationCounters();
_heap_counters = new EpsilonGenerationCounters(heap);
_space_counters = new EpsilonSpaceCounters("Heap", 0, heap->max_capacity(), 0, _heap_counters);
}
--- a/src/hotspot/share/gc/epsilon/epsilonMonitoringSupport.hpp Mon Mar 26 16:01:23 2018 +0200
+++ b/src/hotspot/share/gc/epsilon/epsilonMonitoringSupport.hpp Mon Mar 26 16:18:35 2018 +0200
@@ -32,7 +32,6 @@
class EpsilonMonitoringSupport : public CHeapObj<mtGC> {
private:
- GenerationCounters* _young_counters;
GenerationCounters* _heap_counters;
EpsilonSpaceCounters* _space_counters;