JDK 21 | JDK 23 |
---|---|
21.0.5Fixed | 23 b20Fixed |
Relates :
|
Before recursive support has been added to lightweight locking, using recursive locking patterns would inflate lightweight locks to full monitors. In some scenarios (when churning lots of recursively locked objects), this could lead to excessive native memory usage. I'd like to add a test that verifies that this does not happen.
|