8309111: Removing unused constructor of PerfLongCounter and PerfLongVariable

Reviewed-by: dholmes
This commit is contained in:
Albert Mingkun Yang 2023-05-31 10:19:58 +00:00
parent 4f3a95af2f
commit a990322429
2 changed files with 0 additions and 17 deletions

View File

@ -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),

View File

@ -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,