5b0f60cff9
Motivation: Sometimes the SingleThreadEventLoopTest did fail on our CI. This was because of GC pressure produced by Thread.sleep(...) when interrupted as it creates a new InterruptedException all the time (and need to fill it). Modifications: Replace Thread.sleep(...) with LockSupport.parkNanos(...) to eliminate exception overhead. Result: SingleThreadEventLoopTest produce a lot less garbage. |
||
---|---|---|
.. | ||
src | ||
pom.xml |