<div dir="ltr"><div dir="ltr">On Tue, Jan 27, 2026 at 1:06 PM Glavo <<a href="mailto:zjx001202@gmail.com">zjx001202@gmail.com</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">>  Was there ever any thoughts to add an API point for defining new montor objects, such as Object.newLock() or perhaps even something like Object.newLock(Class context, String tag)? <br><br>Does it have any advantages over ReentrantLock?</div></blockquote><div><br></div><div>Hello Glavo,</div><div><br></div><div>This discussion has been focused on monitor lock objects used for plain old Java synchronization. Whether ReentrantLock has advantages over Java synchronization is an interesting discussion, but probably a side track from this one. A lot of code uses synchronized just fine, that's probably not going to change any day soon.</div><div><br></div><div>Cheers,</div><div>Eirik.</div></div></div>