# HG changeset patch # User jcbeyler # Date 1539202331 25200 # Wed Oct 10 13:12:11 2018 -0700 # Node ID 057d7c9a93476b3fecd3c5b42c6c252a3d4f7b13 # Parent eb1ecdd3611e8147a464431265476188d6e8de3b 8212025: Remove collector_present variable from ThreadHeapSampler Summary: Reviewed-by: diff --git a/src/hotspot/share/runtime/threadHeapSampler.hpp b/src/hotspot/share/runtime/threadHeapSampler.hpp --- a/src/hotspot/share/runtime/threadHeapSampler.hpp +++ b/src/hotspot/share/runtime/threadHeapSampler.hpp @@ -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; }