Optimizing synchronized code for parallel generation.