mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-20 04:43:32 +00:00
Merge
This commit is contained in:
commit
13ef20701b
@ -33,46 +33,42 @@
|
||||
class GCPolicyCounters: public CHeapObj<mtGC> {
|
||||
friend class VMStructs;
|
||||
|
||||
private:
|
||||
// Constant PerfData types don't need to retain a reference.
|
||||
// However, it's a good idea to document them here.
|
||||
// PerfStringConstant* _name;
|
||||
// PerfStringConstant* _collector_size;
|
||||
// PerfStringConstant* _generation_size;
|
||||
|
||||
// Constant PerfData types don't need to retain a reference.
|
||||
// However, it's a good idea to document them here.
|
||||
// PerfStringConstant* _name;
|
||||
// PerfStringConstant* _collector_size;
|
||||
// PerfStringConstant* _generation_size;
|
||||
PerfVariable* _tenuring_threshold;
|
||||
PerfVariable* _desired_survivor_size;
|
||||
|
||||
PerfVariable* _tenuring_threshold;
|
||||
PerfVariable* _desired_survivor_size;
|
||||
|
||||
const char* _name_space;
|
||||
|
||||
public:
|
||||
const char* _name_space;
|
||||
|
||||
public:
|
||||
enum Name {
|
||||
NONE,
|
||||
GCPolicyCountersKind,
|
||||
GCAdaptivePolicyCountersKind,
|
||||
PSGCAdaptivePolicyCountersKind,
|
||||
CMSGCAdaptivePolicyCountersKind
|
||||
PSGCAdaptivePolicyCountersKind
|
||||
};
|
||||
|
||||
GCPolicyCounters(const char* name, int collectors, int generations);
|
||||
|
||||
inline PerfVariable* tenuring_threshold() const {
|
||||
return _tenuring_threshold;
|
||||
}
|
||||
inline PerfVariable* tenuring_threshold() const {
|
||||
return _tenuring_threshold;
|
||||
}
|
||||
|
||||
inline PerfVariable* desired_survivor_size() const {
|
||||
return _desired_survivor_size;
|
||||
}
|
||||
inline PerfVariable* desired_survivor_size() const {
|
||||
return _desired_survivor_size;
|
||||
}
|
||||
|
||||
const char* name_space() const { return _name_space; }
|
||||
const char* name_space() const { return _name_space; }
|
||||
|
||||
virtual void update_counters() {}
|
||||
virtual void update_counters() {}
|
||||
|
||||
virtual GCPolicyCounters::Name kind() const {
|
||||
return GCPolicyCounters::GCPolicyCountersKind;
|
||||
}
|
||||
virtual GCPolicyCounters::Name kind() const {
|
||||
return GCPolicyCounters::GCPolicyCountersKind;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // SHARE_GC_SHARED_GCPOLICYCOUNTERS_HPP
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user