Java Pitfalls - Threads and Concurrency

Pitfall - Extending java.lang.Thread

Pitfall - Too many threads makes an application slower.

Pitfall - Thread creation is relatively expensive

Pitfall Shared variables require proper synchronization

Pitfall incorrect use of wait notify