Norman Maurer
2a684fc1dc
Don't re-arm timerfd each epoll_wait ( #264 )
...
Motivation:
When calling Selector.whenReady(...) and using a SelectorStrategy.blockUntil(...) we may end up re-arm the timerfd each time even if the wakeup time did not change.
This is expensive and can be avoided in most situations.
Modifications:
Keep track of the earliest scheduled timer and only schedule a new one if it would fire sooner.
Result:
Less overhead when using epoll and timers.
2018-04-03 09:53:19 +01:00
..
2018-02-08 11:21:55 +00:00
2018-03-12 22:04:47 +01:00
2018-03-29 19:50:07 +02:00
2018-03-02 15:40:52 +09:00
2018-03-28 10:49:05 +02:00
2018-03-11 22:47:29 +09:00
2018-03-24 12:58:36 +00:00
2018-03-05 19:01:10 +09:00
2018-03-29 19:50:07 +02:00
2018-03-19 19:38:24 +01:00
2018-03-15 21:23:19 +01:00
2018-03-21 11:15:12 +01:00
2018-03-02 15:40:52 +09:00
2018-03-29 19:50:07 +02:00
2018-03-02 15:40:52 +09:00
2018-03-15 22:11:46 +09:00
2018-02-08 13:12:30 +00:00
2018-03-22 17:36:10 +01:00
2018-03-27 19:04:33 +02:00
2018-03-27 19:04:33 +02:00
2018-03-20 15:30:48 +01:00
2018-03-02 15:40:52 +09:00
2018-03-12 13:27:42 +01:00
2018-03-02 15:40:52 +09:00
2018-03-28 10:49:05 +02:00
2018-03-21 01:14:47 +09:00
2018-03-28 17:06:05 +01:00
2018-03-03 09:04:57 +09:00
2018-03-19 14:43:38 +01:00
2018-03-19 14:43:38 +01:00
2018-03-21 15:32:15 +01:00
2018-03-02 15:40:52 +09:00
2018-02-26 09:49:43 +00:00
2018-03-02 15:40:52 +09:00
2018-03-22 17:36:10 +01:00
2018-03-26 17:07:56 +01:00
2018-03-22 17:36:10 +01:00
2018-03-28 17:06:05 +01:00
2018-03-02 15:40:52 +09:00
2018-03-02 15:40:52 +09:00
2018-02-28 09:46:29 +00:00
2018-04-03 09:53:19 +01:00
2018-03-13 15:09:13 +00:00
2018-03-20 19:11:42 +01:00
2018-03-19 14:43:38 +01:00
2018-03-29 19:50:07 +02:00
2018-03-28 10:49:05 +02:00
2018-03-06 00:32:05 +09:00
2018-03-03 10:16:39 +09:00
2018-03-16 23:53:16 +09:00