Goals
- Master the implementation of multi-threading in Java
- Effectively manage concurrency and memory
Program
Notions of threads and processes
The Switching Context: operation, consequences
Parallelism and concurrent access
Java synchronization: locks, synchronized, volatile
Good synchronization practices and errors to avoid (Deadlock)
Implementation of coordination of threads
Immutability: publications, encapusulation, confinement
Synchronized collections, competing collections
Atomics
Lock, Semaphore
CountDownLatch
Pooling of threads, executors
Workshop: implementation of multi-threaded scenarios, synchronization – use of executors.
JVM memory organization: stack, heap
Presentation of the garbage collector mechanism
Operation of the Garbage
Collector Generational
Garbage Collectors Garbage Collector and memory leaks
JVM configuration to optimize the memory footprint
Presentation of the JVM tools to monitor an application : jConsole, jVisualVM
Workshop: optimization of the JVM for an application – monitoring: dump and code analysis.
Duration
2 days
Price
£ 1085
Audience
Java developers and analysts
Prerequisites
Have followed the « Java initiation » course or have equivalent knowledge
Reference
JAV1065-F
Sessions
Contact us for more informations about session date