Versions Compared

Key

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

...

Failure to provide facilities for thread termination can cause nonresponsiveness and DoS.

Rule

Severity

Likelihood

Remediation Cost

Detectable

Repairable

Priority

Level

THI04-J

Low

Probable

Medium

No

No

P4

P2

L3

Bibliography

[API 2014]

Class Thread
Interface ExecutorService
Interface Statement

[Darwin 2004]

Section 24.3, "Stopping a Thread"

[Goetz 2006]

Chapter 7, "Cancellation and Shutdown"

[JavaThreads 2004]

Section 2.4, "Two Approaches to Stopping a Thread"

[JDK7 2008]

Java Thread Primitive Deprecation

[JPL 2006]

Section 14.12.1, "Don't Stop"
Section 23.3.3, "Shutdown Strategies"

...


...