Title: VNA02-J. Ensure that compound operations on shared variables are atomic  
Author: Dhruv Mohindra Dec 09, 2009
Last Changed by: Svyatoslav Razmyslov Jun 25, 2021
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/SjdGBQ
Export As: Word · PDF  
Hierarchy
Parent Page
    Page: Rule 08. Visibility and Atomicity (VNA)
Labels
Outgoing Links
External Links (16)
    cwe.mitre.org/data/definitions/366.html
    docs.oracle.com/javase/8/docs/api/
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    cwe.mitre.org/data/definitions/567.html
    cwe.mitre.org/data/definitions/667.html
    cwe.mitre.org/
    cwe.mitre.org/data/definitions/413.html
    https://pvs-studio.com/en/docs/warnings/v6074/
    https://wiki.sei.cmu.edu/confluence/display/java/PVS-Studio
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    docs.oracle.com/javase/specs/jls/se8/html/jls-17.html#jls-1…
    java.sun.com/docs/books/tutorial/essential/concurrency/inde…
    docs.oracle.com/javase/specs/jls/se8/html/jls-17.html
    docs.oracle.com/javase/specs/jls/se8/html/jls-17.html#jls-1…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    docs.oracle.com/javase/specs/jls/se8/html/jls-17.html#jls-1…
SEI CERT Oracle Coding Standard for Java (14)     Page: VNA03-J. Do not assume that a group of calls to independently atomic methods is atomic
    Page: Parasoft_V
    Page: CodeSonar
    Page: LCK00-J. Use private final lock objects to synchronize classes that may interact with untrusted code
    Page: Coverity
    Page: Rule AA. References
    Page: Parasoft
    Page: NUM00-J. Detect or prevent integer overflow
    Home page: SEI CERT Oracle Coding Standard for Java
    Page: VNA05-J. Ensure atomicity when reading and writing 64-bit values
    Page: Rule BB. Glossary
    Page: PVS-Studio_V
    Page: ThreadSafe
    Page: ThreadSafe_V