/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef SERIALGC
#include "gc_implementation/shared/adaptiveSizePolicy.hpp"
#include "gc_implementation/shared/gcPolicyCounters.hpp"
#endif
// This class keeps statistical information and computes the
// size of the heap.
protected:
#ifdef NOT_PRODUCT
#endif
inline void update_eden_size() {
}
inline void update_promo_size() {
}
inline void update_avg_minor_pause_counter() {
}
inline void update_avg_minor_interval_counter() {
}
#ifdef NOT_PRODUCT
inline void update_minor_pause_counter() {
}
#endif
inline void update_minor_gc_cost_counter() {
}
inline void update_avg_young_live_counter() {
);
}
inline void update_avg_survived_avg_counters() {
);
}
inline void update_avg_survived_dev_counters() {
);
}
inline void update_avg_survived_padded_avg_counters() {
);
}
inline void update_change_old_gen_for_throughput() {
}
inline void update_change_young_gen_for_throughput() {
}
inline void update_decrease_for_footprint() {
}
inline void update_decide_at_full_gc_counter() {
size_policy()->decide_at_full_gc());
}
inline void update_minor_pause_young_slope_counter() {
);
}
virtual void update_counters_from_policy();
protected:
public:
GCAdaptivePolicyCounters(const char* name,
int collectors,
int generations,
}
}
}
virtual void update_counters();
inline void update_survivor_size_counters() {
}
}
}
inline void update_increment_tenuring_threshold_for_gc_cost() {
}
inline void update_decrement_tenuring_threshold_for_gc_cost() {
}
inline void update_decrement_tenuring_threshold_for_survivor_limit() {
}
inline void update_change_young_gen_for_min_pauses() {
}
inline void update_change_old_gen_for_maj_pauses() {
}
inline void update_minor_collection_slope_counter() {
);
}
inline void update_major_collection_slope_counter() {
);
}
}
};
#endif // SHARE_VM_GC_IMPLEMENTATION_SHARED_GCADAPTIVEPOLICYCOUNTERS_HPP