More gc synchronization fixes.