netty5/common
Norman Maurer d64168e315 Ensure cancelled scheduled tasks can be GC'ed ASAP
Motivation:

Prior we used a purge task that would remove previous canceled scheduled tasks from the internal queue. This could introduce some delay and so use a lot of memory even if the task itself is already canceled.

Modifications:

Schedule removal of task from queue via EventLoop if cancel operation is not done in the EventLoop Thread or just remove directly if the Thread that cancels the scheduled task is in the EventLoop.

Result:

Faster possibility to GC a canceled ScheduledFutureTask.
2015-07-19 16:59:03 +02:00
..
src Ensure cancelled scheduled tasks can be GC'ed ASAP 2015-07-19 16:59:03 +02:00
pom.xml Auto-generating primitive collections for int and char keys. 2015-04-10 07:56:54 -07:00