Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Programs that use multiple threads to serve requests should — and security-sensitive programs must — use thread pools to enable ensure graceful degradation of service during traffic bursts. Use of thread pools is one acceptable approach to meeting this requirement.

Noncompliant Code Example

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="20769974c77516b2-1ca4687e-4bdc4e58-bb7d876a-0bcdbd6acf9b1c8cd8ea5fd7"><ac:plain-text-body><![CDATA[

[[API 2006

AA. Bibliography#API 06]]

[Interface Executor

http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/Executor.html]

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8bde325435b9a8a2-b708b7c6-423141a9-87d38588-d8f2a1627faa951f886c205b"><ac:plain-text-body><![CDATA[

[[Lea 2000

AA. Bibliography#Lea 00]]

Section 4.1.3 Thread-Per-Message and 4.1.4 Worker Threads

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="02384e8533243c93-f238aaf5-4d934aa5-97ab94a5-546ed397e7e994ce8da2ccf5"><ac:plain-text-body><![CDATA[

[[Tutorials 2008

AA. Bibliography#Tutorials 08]]

[Thread Pools

http://java.sun.com/docs/books/tutorial/essential/concurrency/pools.html]

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="942d98d173da210a-3147b484-41684891-a5f6b1cf-78d0f2dda8a4c889e8dc2db2"><ac:plain-text-body><![CDATA[

[[Goetz 2006

AA. Bibliography#Goetz 06]]

Chapter 8, Applying Thread Pools

]]></ac:plain-text-body></ac:structured-macro>

...