Refine codes.
Refine the synchronized parts.
Refine synchronized blocks.
refine synchronized block.