Versions Compared

Key

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

...

Starting and using background threads during class initialization can result in deadlock.

Rule

Severity

Likelihood

Detectable

RepairableRemediation Cost

Priority

Level

TSM02-J

Low

Probable

Yes

NoHigh

P2P4

L3

Automated Detection

ToolVersionCheckerDescription
CodeSonar
Include Page
CodeSonar_VCodeSonar_VFB.MT_CORRECTNESS.SC_START_IN_CTORConstructor invokes Thread.start()Parasoft Jtest
Include Page
Parasoft_V
Parasoft_V
TRSCERT.TSM02.CSTARTDo not call the "start" method of threads from inside a constructor
SonarQube
Include Page
SonarQube_V
SonarQube_V
S2693Threads should not be started in constructors

...