changeset 52099:896a556de423

8212025: Remove collector_present variable from ThreadHeapSampler Summary: Remove unused variable from ThreadHeapSampler Reviewed-by: tschatzl, pliden
author jcbeyler
date Thu, 11 Oct 2018 12:41:47 -0700
parents c9e901ad4c8f
children 62523934374c
files src/hotspot/share/runtime/threadHeapSampler.hpp
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/runtime/threadHeapSampler.hpp	Thu Oct 11 09:30:10 2018 -0700
+++ b/src/hotspot/share/runtime/threadHeapSampler.hpp	Thu Oct 11 12:41:47 2018 -0700
@@ -39,10 +39,6 @@
   static int _enabled;
   static int _sampling_interval;
 
-  // Used for assertion mode to determine if there is a path to a TLAB slow path
-  // without a collector present.
-  size_t _collectors_present;
-
   static void init_log_table();
 
  public:
@@ -51,8 +47,6 @@
     if (_rnd == 0) {
       _rnd = 1;
     }
-
-    _collectors_present = 0;
   }
 
   size_t bytes_until_sample()                    { return _bytes_until_sample;   }