Details
-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
-
None
Description
ReentrantLock::toString and ReentrantReadWriteLock.WriteLock::toString include the thread name when locked (or holding the write lock). This is okay when all threads name have a unique name but we might have to re-examine it for virtual threads as they don't get a name by default. Including the thread identifier in the String might work but changing it might be an incompatible change due to the String representation being specified.