Fix a memory leak in CmaRootObject.
Assign a thread name for easy debugging.