8309111: Removing unused constructor of PerfLongCounter and PerfLongVariable
Reviewed-by: dholmes
This commit is contained in:
parent
4f3a95af2f
commit
a990322429
@ -191,14 +191,6 @@ PerfLong::PerfLong(CounterNS ns, const char* namep, Units u, Variability v)
|
||||
create_entry(T_LONG, sizeof(jlong));
|
||||
}
|
||||
|
||||
PerfLongVariant::PerfLongVariant(CounterNS ns, const char* namep, Units u,
|
||||
Variability v, jlong* sampled)
|
||||
: PerfLong(ns, namep, u, v),
|
||||
_sampled(sampled), _sample_helper(nullptr) {
|
||||
|
||||
sample();
|
||||
}
|
||||
|
||||
PerfLongVariant::PerfLongVariant(CounterNS ns, const char* namep, Units u,
|
||||
Variability v, PerfLongSampleHelper* helper)
|
||||
: PerfLong(ns, namep, u, v),
|
||||
|
@ -405,9 +405,6 @@ class PerfLongVariant : public PerfLong {
|
||||
if (is_valid()) *(jlong*)_valuep = initial_value;
|
||||
}
|
||||
|
||||
PerfLongVariant(CounterNS ns, const char* namep, Units u, Variability v,
|
||||
jlong* sampled);
|
||||
|
||||
PerfLongVariant(CounterNS ns, const char* namep, Units u, Variability v,
|
||||
PerfLongSampleHelper* sample_helper);
|
||||
|
||||
@ -439,9 +436,6 @@ class PerfLongCounter : public PerfLongVariant {
|
||||
: PerfLongVariant(ns, namep, u, V_Monotonic,
|
||||
initial_value) { }
|
||||
|
||||
PerfLongCounter(CounterNS ns, const char* namep, Units u, jlong* sampled)
|
||||
: PerfLongVariant(ns, namep, u, V_Monotonic, sampled) { }
|
||||
|
||||
PerfLongCounter(CounterNS ns, const char* namep, Units u,
|
||||
PerfLongSampleHelper* sample_helper)
|
||||
: PerfLongVariant(ns, namep, u, V_Monotonic,
|
||||
@ -464,9 +458,6 @@ class PerfLongVariable : public PerfLongVariant {
|
||||
: PerfLongVariant(ns, namep, u, V_Variable,
|
||||
initial_value) { }
|
||||
|
||||
PerfLongVariable(CounterNS ns, const char* namep, Units u, jlong* sampled)
|
||||
: PerfLongVariant(ns, namep, u, V_Variable, sampled) { }
|
||||
|
||||
PerfLongVariable(CounterNS ns, const char* namep, Units u,
|
||||
PerfLongSampleHelper* sample_helper)
|
||||
: PerfLongVariant(ns, namep, u, V_Variable,
|
||||
|
Loading…
x
Reference in New Issue
Block a user