- What:
- Since Java 11 (Linux/x64), macOS/Windows: Java 14.
- Goals:
- Max pause times (1) of a few milliseconds.
- Pause times do not increase with the heap or live-set (2) size.
- Handle heaps ranging from a 8MB to 16TB in size.
- Features:
- Concurrent
- Region-based (3)
- Compacting (4)
- NUMA-aware (5)
- Using colored pointers (6)
- Using load barriers (7)
Read More
- What:
- Since Java 7, in order to make it easier to write parallel programs, the implementation of the ExecutorService interface.
- Using divide and conquer approach to helps you take advantage of multiple processors
- Worker threads that run out of things to do can steal tasks from other threads that are still busy.
- Abstract ForkJoinTask has 2 subclasses: RecursiveAction and RecursiveTask to use, which run with the ForkJoinPool.
Read More
- What:
- Used particularly in functional programming languages.
- Chances to increase performance by not doing the computation until needed.
- Has book-keeping overhead.
Read More
List of posts: