Merge "Use GC critical section for profile saver"