8310146: Removing unused PerfLongVariant::_sampled

Reviewed-by: tschatzl
This commit is contained in:
Albert Mingkun Yang 2023-06-19 11:08:07 +00:00
parent d2a858e173
commit b896e3e02a
2 changed files with 1 additions and 2 deletions

View File

@ -194,7 +194,7 @@ PerfLong::PerfLong(CounterNS ns, const char* namep, Units u, Variability v)
PerfLongVariant::PerfLongVariant(CounterNS ns, const char* namep, Units u,
Variability v, PerfLongSampleHelper* helper)
: PerfLong(ns, namep, u, v),
_sampled(nullptr), _sample_helper(helper) {
_sample_helper(helper) {
sample();
}

View File

@ -396,7 +396,6 @@ class PerfLongConstant : public PerfLong {
class PerfLongVariant : public PerfLong {
protected:
jlong* _sampled;
PerfLongSampleHelper* _sample_helper;
PerfLongVariant(CounterNS ns, const char* namep, Units u, Variability v,