Versions Compared

Key

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

...

starvation : A condition wherein one or more threads prevent other threads from accessing a shared resource over extended periods of time. For instance, a thread that invokes a synchronized method which performs some time consuming operation, starves other threads.

Anchor
tainted data
tainted data

tainted data : Data that either originate from an untrusted source, or resulted from an operation whose inputs included tainted data. Tainted data can be sanitized (also untainted) through suitable data validation. Note that all outputs from untrusted code must be considered to be tainted.

Anchor
thread-safe
thread-safe

Wiki Markup
*thread-safe* : An object is thread-safe, if it can be shared by multiple threads without the possibility of any data races. "A thread-safe object performs synchronization internally, so multiple threads can freely access it through its public interface without further synchronization." \[[Goetz 2006|AA. Bibliography#Goetz 06]\]. Immutable classes are thread safe by definition. Mutable classes may also be thread-safe if they are properly synchronized. 

...