Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: REM cost reform

...

Failure to synchronize access to shared mutable data can cause different threads to observe different states of the object or to observe a partially initialized object.

Rule

Severity

Likelihood

Detectable

RepairableRemediation Cost

Priority

Level

TSM03-J

Medium

Probable

Yes

MediumNo

P8

L2

Automated Detection

Possible exposure of partially initialized object
ToolVersionCheckerDescriptionCodeSonar
Include Page
CodeSonar_VCodeSonar_VFB.MT_CORRECTNESS.DC_PARTIALLY_CONSTRUCTED

Bibliography

[API 2006]


[Bloch 2001]

Item 48, "Synchronize Access to Shared Mutable Data"

[Goetz 2006a]

Section 3.5.3, "Safe Publication Idioms"

[Goetz 2007]

Pattern #2, "One-Time Safe Publication"

[JPL 2006]

Section 14.10.2, "Final Fields and Security"

[Pugh 2004]


...