Fix memory usage of thread_local on heap & remove tc_alloc
This commit is contained in:
		@ -37,7 +37,7 @@ ObTabletMemtableMgr::ObTabletMemtableMgr()
 | 
			
		||||
    schema_recorder_()
 | 
			
		||||
{
 | 
			
		||||
#if defined(__x86_64__)
 | 
			
		||||
  static_assert(sizeof(ObTabletMemtableMgr) <= 352, "The size of ObTabletMemtableMgr will affect the meta memory manager, and the necessity of adding new fields needs to be considered.");
 | 
			
		||||
  static_assert(sizeof(ObTabletMemtableMgr) <= 360, "The size of ObTabletMemtableMgr will affect the meta memory manager, and the necessity of adding new fields needs to be considered.");
 | 
			
		||||
#endif
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user