platform/shared/tcmalloc/system-alloc.cpp in rhodes-1.2.2 vs platform/shared/tcmalloc/system-alloc.cpp in rhodes-1.4.0
- old
+ new
@@ -391,10 +391,10 @@
void DevMemSysAllocator::DumpStats(TCMalloc_Printer* printer) {
printer->printf("DevMemSysAllocator: failed_=%d\n", failed_);
}
-static bool system_alloc_inited = false;
+/*static bool system_alloc_inited = false;*/
void InitSystemAllocators(void) {
// This determines the order in which system allocators are called
int i = kMaxDynamicAllocators;
allocators[i++] = new (devmem_space) DevMemSysAllocator();