Chapter 20Java Concurrency

THE OCP EXAM TOPICS COVERED IN THIS PRACTICE TEST INCLUDE THE FOLLOWING:

  • Java Concurrency
    • Create worker threads using Runnable, Callable and use an ExecutorService to concurrently execute tasks
    • Identify potential threading problems among deadlock, starvation, livelock, and race conditions
    • Use synchronized keyword and java.util.concurrent.atomic package to control the order of thread execution
    • Use java.util.concurrent collections and classes including CyclicBarrier and CopyOnWriteArrayList
    • Use parallel Fork/Join Framework
    • Use parallel Streams including reduction, decomposition, merging processes, pipelines and performance. ...

Get OCA / OCP Java SE 8 Programmer Practice Tests now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.