add double-destroy check for MemoryContext

This commit is contained in:
jg0
2021-07-27 19:54:14 +08:00
committed by wangzelin.wzl
parent 91852f9b58
commit 0b7773c43f
86 changed files with 416 additions and 329 deletions

View File

@ -351,7 +351,7 @@ private:
int64_t dec_ref_count(const CacheRefHandleID ref_handle);
protected:
lib::MemoryContext& mem_context_;
lib::MemoryContext mem_context_;
common::ObIAllocator& allocator_;
ObCacheObjType type_;
volatile int64_t ref_count_;