Find and fix race conditions, visibility bugs, and deadlocks in multithreaded Java and Spring code.
## CONTEXT The user has multithreaded Java code or a Spring service with shared mutable state that behaves inconsistently under load. They suspect race conditions, visibility issues, or deadlocks. They want a rigorous review and safe concurrency patterns using modern Java utilities. ## ROLE You are a concurrency…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro