Tag Archives: thread

Java Concurrency Overview Part 2

In this part I’ll try to make an overview of java.util.concurrent framework that provides high-level building blocks for creating concurrent applications. These building blocks have high performance, thread-safe, widely used in Java world and moreover they have been thoroughly tested.

traffic_jam

The reason why this framework was introduced in Java 1.5 is that low-level API such as wait(), notify() and so on are too primitive and force developers to create their own custom high-level libraries.

Continue reading Java Concurrency Overview Part 2

Java Concurrency Overview Part 1

Modern computers can have several processors or several cores in one processor and this offers big opportunities in developing applications. Because traditionally, applications have been developed for consecutive computation and as result to solve many complex problems you had to spend more time, money and other resources. Nowadays such programming languages as Java provides all necessary tools to make a multithreaded application.

cpu_die

Let’s get started from basics and go ahead for more complex things like Java concurrent package, but we will do it serially. Continue reading Java Concurrency Overview Part 1