[FEAT MERGE] Add anti-fallback checks for the memory of 500 tenant

This commit is contained in:
obdev
2023-04-25 02:41:25 +00:00
committed by ob-robot
parent c317071f7e
commit fdcaa9a932
135 changed files with 936 additions and 660 deletions

View File

@ -49,7 +49,7 @@ struct DefaultAllocator : public ObIAllocator {
#ifdef UNIITTEST_DEBUG
total_alive_num++;
#endif
return ob_malloc(size, "OccamThreadPool");
return ob_malloc(size, SET_USE_500("OccamThreadPool"));
}
void* alloc(const int64_t size, const ObMemAttr &attr) override {
UNUSED(attr);