From 3eef363b698d13aa205e891ad97ba8831975fbb7 Mon Sep 17 00:00:00 2001 From: Jean Christophe Beyler Date: Thu, 11 Oct 2018 12:41:47 -0700 Subject: [PATCH] 8212025: Remove collector_present variable from ThreadHeapSampler Remove unused variable from ThreadHeapSampler Reviewed-by: tschatzl, pliden --- src/hotspot/share/runtime/threadHeapSampler.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/hotspot/share/runtime/threadHeapSampler.hpp b/src/hotspot/share/runtime/threadHeapSampler.hpp index 06bfbc8635e..2b89ffab567 100644 --- a/src/hotspot/share/runtime/threadHeapSampler.hpp +++ b/src/hotspot/share/runtime/threadHeapSampler.hpp @@ -39,10 +39,6 @@ class ThreadHeapSampler { 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 @@ class ThreadHeapSampler { if (_rnd == 0) { _rnd = 1; } - - _collectors_present = 0; } size_t bytes_until_sample() { return _bytes_until_sample; }