adil-hussain-84 / ThreadPoolExperiments

Experiments with Java's ThreadPoolExecutor class.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thread Pool Experiments

This project houses a number of Android applications which each demonstrate a particular aspect of the ThreadPoolExecutor class.

The applications in this project are as follows:

  • app1 – An analysis of the corePoolSize, maximumPoolSize, keepAliveTime and workQueue parameters available in the ThreadPoolExecutor constructor.
  • app2 – A performance comparison of using a single thread executor for executing tasks serially as opposed to the synchronized keyword.
  • app3 – A performance comparison of using a fixed thread pool for executing tasks concurrently as opposed to an unbounded thread pool.

About

Experiments with Java's ThreadPoolExecutor class.


Languages

Language:Kotlin 100.0%