Skip to content
Unverified Commit b8f3a9ff authored by Fabien Viale's avatar Fabien Viale Committed by GitHub
Browse files

Avoid deadlocks and heavy CPU usage (#3552)

* Avoid deadlocks and heavy CPU usage
 - use read/write locks instead of synchronized
 - use Thread.sleep to avoid aggressive loop
 - use ArrayBlockingQueue instead of LinkedBlockingQueue (minor)
 - use fairness to respect FIFO thread access to the queue.
 - apply reviews
 - trying to fix failing test
parent 79c47cf7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment