<div dir="ltr">Hi everyone,<div>I have one question about the synchronized methodsĀ and virtual threads.</div><div>So in Java 23 the issue with pinned threads for synchronized methods was fixed.</div><div><br></div><div>Before this fix many projects did fixes and replaced synchronized with Lock. What is the latest recommendation? Keep replacing synchronized with Lock or wait for Java 23 and use synchronized methods?</div><div><br></div><div>Thanks,</div><div><br></div><div>Alex Filichkin</div></div>