On Tue, Jan 27, 2026 at 1:06 PM Glavo <[email protected]> wrote:

> >  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)?
>
> Does it have any advantages over ReentrantLock?
>

Hello Glavo,

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.

Cheers,
Eirik.

Reply via email to