Title: LCK09-J. Do not perform operations that can block while holding a lock  
Author: Ryan Hofler Mar 29, 2009
Last Changed by: Jon O'Donnell Aug 06, 2021
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/YTdGBQ
Export As: Word · PDF  
Incoming Links
Hierarchy
Parent Page
    Page: Rule 09. Locking (LCK)
Outgoing Links
External Links (10)
    https://wiki.sei.cmu.edu/confluence/display/java/PVS-Studio
    www.rgoarchitects.com/Files/fallacies.pdf
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    oreilly.com/catalog/javarmi/chapter/ch10.html
    docs.oracle.com/javase/specs/jls/se8/html/jls-17.html
    https://pvs-studio.com/en/docs/warnings/v6095/
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://docs.oracle.com/javase/8/docs/api/java/lang/Object.…
    https://www.sonarsource.com/products/codeanalyzers/sonarjav…
SEI CERT Oracle Coding Standard for Java (15)     Page: ThreadSafe_V
    Page: Parasoft_V
    Page: Rule AA. References
    Page: THI04-J. Ensure that threads performing blocking operations can be terminated
    Page: PVS-Studio_V
    Page: Parasoft
    Page: CodeSonar_V
    Page: SonarQube
    Page: THI03-J. Always invoke wait() and await() methods inside a loop
    Page: SonarQube_V
    Page: ThreadSafe
    Home page: SEI CERT Oracle Coding Standard for Java
    Page: THI02-J. Notify all waiting threads rather than a single thread
    Page: Rule BB. Glossary
    Page: LCK07-J. Avoid deadlock by requesting and releasing locks in the same order
SEI CERT C Coding Standard (3)     Page: CodeSonar
    Page: CON05-C. Do not perform operations that can block while holding a lock
    Home page: SEI CERT C Coding Standard