Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT Oracle Coding Standard for Java
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT Oracle Coding Standard for Java
2 Rules
Rule 09. Locking (LCK)
LCK10-J. Use a correct form of the double-checked locking idiom
Page Information
Title:
LCK10-J. Use a correct form of the double-checked locking idiom
Author:
Dhruv Mohindra
Oct 06, 2009
Last Changed by:
Jon O'Donnell
Aug 06, 2021
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/6zdGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (2)
Page:
MSC07-J. Prevent multiple instantiations of singleton objects
Page:
LCK11-J. Avoid client-side locking when using classes that do not commit to their locking strategy
Hierarchy
Parent Page
Page:
Rule 09. Locking (LCK)
Labels
Global Labels (4)
lck
android-applicable
rule
analyzable
Recent Changes
Time
Editor
Aug 06, 2021 09:05
Jon O'Donnell
View Changes
Jun 25, 2021 07:38
Svyatoslav Razmyslov
View Changes
May 18, 2021 08:07
Michal Rozenau
View Changes
Parasoft Jtest 2021.1
Feb 26, 2021 09:29
Michal Rozenau
View Changes
Parasoft Jtest 2020.2
Feb 12, 2018 22:02
Will Snavely
View Page History
Outgoing Links
External Links (14)
https://www.sonarsource.com/products/codeanalyzers/sonarjav…
Rule AA. References#Manson 08
https://pvs-studio.com/en/docs/warnings/v6082/
https://pvs-studio.com/en/docs/warnings/v5304/
cwe.mitre.org/
https://wiki.sei.cmu.edu/confluence/display/java/PVS-Studio
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
www.cs.umd.edu/%7Epugh/java/memoryModel/jsr-133-faq.html#fi…
jeremymanson.blogspot.ru/2008/12/benign-data-races-in-java.…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
www.wikijava.org/wiki/Singleton_Factory_patterns_example
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
cwe.mitre.org/data/definitions/609.html
docs.oracle.com/javase/specs/jls/se8/html/jls-12.html#jls-1…
SEI CERT Oracle Coding Standard for Java (13)
Page:
Parasoft_V
Page:
SonarQube
Page:
Coverity
Page:
Parasoft
Page:
CodeSonar_V
Page:
Rule AA. References
Page:
Rule BB. Glossary
Page:
TSM03-J. Do not publish partially initialized objects
Page:
SonarQube_V
Page:
VNA05-J. Ensure atomicity when reading and writing 64-bit values
Page:
PVS-Studio_V
Page:
CodeSonar
Home page:
SEI CERT Oracle Coding Standard for Java
Overview
Content Tools
{"serverDuration": 76, "requestCorrelationId": "8ffa0168dda32e11"}