Where this function is called in UpdateListOnCommited:
      // Could trigger deserialization of decls.
      cling::Interpreter::PushTransactionRAII RAII(interp);
      ((TCling*)gCling)->UpdateListOfEnums(*I);
      // Unlock the TClass for updates
      ((TCling*)gCling)->GetModTClasses().erase(*I);
   }

Can GetModTClasses() trigger deserialization? Otherwise I can remove <<cling::Interpreter::PushTransactionRAII RAII(interp);>> as well