< prev index next >

src/hotspot/share/runtime/threadHeapSampler.hpp

Print this page
rev 52084 : 8212025: Remove collector_present variable from ThreadHeapSampler
Summary:
Reviewed-by:

*** 37,60 **** void pick_next_geometric_sample(); void pick_next_sample(size_t overflowed_bytes = 0); 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: ThreadHeapSampler() : _bytes_until_sample(0) { _rnd = static_cast<uint32_t>(reinterpret_cast<uintptr_t>(this)); if (_rnd == 0) { _rnd = 1; } - - _collectors_present = 0; } size_t bytes_until_sample() { return _bytes_until_sample; } void set_bytes_until_sample(size_t bytes) { _bytes_until_sample = bytes; } --- 37,54 ----
< prev index next >