you need to grab the log when changing m_IsAllocated