Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 388 Bytes

AvoidUsingVolatile.md

File metadata and controls

8 lines (5 loc) · 388 Bytes

AvoidUsingVolatile

Category: pmd
Rule Key: pmd:AvoidUsingVolatile


Use of the keyword "volatile" is general used to fine tune a Java application, and therefore, requires a good expertise of the Java Memory Model. Morover, its range of action is somewhat misknown. Therefore, the volatile keyword should not be used for maintenance purpose and portability.