Concurrency
Running more than one thing at a time without corrupting shared state.
2 subjects · 6 topics
Subjects covering this category
2 subjects- Subject · Intermediate to Advanced
Running Java on more than one thread without corrupting the data underneath.
- Threads and What They Cost
- Why Shared State Breaks
- Locks
5 topics · 43 cardsnot started - Subject · Beginner to Advanced
Wiring a Java application together with Spring's IoC container, instead of doing it by hand.
- Why Spring Exists
- The Bean and the Container
- Wiring Beans Together
4 topics · 25 cardsnot started
In Concurrency itself
6 topicsTwo threads, one field, and the two different ways it goes wrong.
9 cards · 5 qnot startedWhat synchronized guarantees, on which object, and what it still does not protect.
9 cards · 5 qnot startedHanding work to a pool, getting a result back, and shutting it down without losing it.
9 cards · 5 qnot startedStarting work that runs beside your code, and what each thread takes to exist.
8 cards · 5 qnot startedFour conditions, three failure names, and the ordering rule that removes one of them.
8 cards · 5 qnot startedHow long a bean lives, and the two moments the container promises to call you at.
7 cards · 4 qnot started