Java synchronized mechanism

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Inefficiencies

Code written using the syncrhonized mechanism is expensive on multicore CPU systems. The Streams API, introduced in Java 8, avoids the need of explicitly using syncrhonized.