“Stack confinement is a special case of thread confinement in which an object can only be reached through local variables. Just as encapsulation can make it easier to preserve invariants, local variables can make it easier to confine objects to a thread. Local variables are intrinsically confined to the executing thread; they exist on the executing thread's stack, which is not accessible to other threads. Stack confinement (also called within-thread or thread-local usage, but not to be confused with the ThreadLocal library class) is simpler to maintain and less fragile than ad-hoc thread confinement. For”
―
Java Concurrency in Practice
Share this quote:
Friends Who Liked This Quote
To see what your friends thought of this quote, please sign up!
0 likes
All Members Who Liked This Quote
None yet!
This Quote Is From
Browse By Tag
- love (100950)
- life (78985)
- inspirational (75543)
- humor (44230)
- philosophy (30807)
- inspirational-quotes (28700)
- god (26816)
- truth (24630)
- wisdom (24454)
- romance (24272)
- poetry (23107)
- life-lessons (22507)
- quotes (20908)
- death (20490)
- happiness (18909)
- hope (18453)
- faith (18291)
- inspiration (17225)
- travel (16885)
- spirituality (15628)
- relationships (15431)
- religion (15353)
- motivational (15240)
- life-quotes (15207)
- love-quotes (15044)
- writing (14907)
- success (14151)
- motivation (13096)
- time (12808)
- science (12043)