diff --git a/system/jhtree/jhtree.cpp b/system/jhtree/jhtree.cpp index 292f2e1dcd5..024cbd59b4a 100644 --- a/system/jhtree/jhtree.cpp +++ b/system/jhtree/jhtree.cpp @@ -674,10 +674,10 @@ class CNodeMRUCache final : public CMRUCacheOf>> pNumDups = nullptr; std::shared_ptr>> pNumEvicts = nullptr; public: - RelaxedAtomic<__uint64> numHits; - RelaxedAtomic<__uint64> numAdds; - RelaxedAtomic<__uint64> numDups; - RelaxedAtomic<__uint64> numEvicts; + RelaxedAtomic<__uint64> numHits{0}; + RelaxedAtomic<__uint64> numAdds{0}; + RelaxedAtomic<__uint64> numDups{0}; + RelaxedAtomic<__uint64> numEvicts{0}; bool enabled = false; CNodeMRUCache(CacheType cacheType) {