make a commit, mainly on alloc.