Inspectopedia
 
2024.3

Nested 'synchronized' statement

Warning
New
Last modified: 03 December 2024

Reports nested synchronized statements. It is recommended to avoid nested synchronization if possible, because in some cases it may lead to a deadlock.

Example: