< prev index next >
src/hotspot/share/gc/shared/gcPolicyCounters.hpp
Print this page
rev 52961 : 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:
*** 1,7 ****
/*
! * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 41,50 ****
--- 41,51 ----
// PerfStringConstant* _collector_size;
// PerfStringConstant* _generation_size;
PerfVariable* _tenuring_threshold;
PerfVariable* _desired_survivor_size;
+ PerfVariable* _gc_overhead_limit_exceeded_counter;
const char* _name_space;
public:
*** 64,73 ****
--- 65,78 ----
inline PerfVariable* desired_survivor_size() const {
return _desired_survivor_size;
}
+ inline PerfVariable* gc_overhead_limit_exceeded_counter() const {
+ return _gc_overhead_limit_exceeded_counter;
+ }
+
const char* name_space() const { return _name_space; }
virtual void update_counters() {}
virtual GCPolicyCounters::Name kind() const {
< prev index next >