Yves Gerey
9a29c03355
Fix random crashes - invariant broken in LinkedSet (LRU) implementation.
Root cause: IsNewSequenceNumber didn't respect strict weak ordering requirements.
(e.g. 0, 0x1000, 0x2000, ... 0x9000 are increasing, but 0x9000 < 0)
Solution: Unwrap the sequence numbers into int64_t for proper sorting.
This CL also introduce a simpler interface,
which does a better job at hiding implementation details.
Bug: webrtc:9575
Change-Id: Ic9922426de32278e8b51c6ecef8e2efeb0997512
Reviewed-on: https://webrtc-review.googlesource.com/91165
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Commit-Queue: Yves Gerey <yvesg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24202}
2018-08-07 09:18:41 +00:00
..
2018-07-25 14:59:26 +00:00
2018-08-07 09:18:41 +00:00
2018-06-19 14:00:39 +00:00
2018-06-29 10:47:37 +00:00
2018-07-18 13:51:05 +00:00
2018-07-18 13:51:05 +00:00
2018-07-25 14:59:26 +00:00
2018-06-29 10:47:37 +00:00
2018-06-19 14:00:39 +00:00
2018-01-17 13:27:47 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-07-25 14:59:26 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2017-09-15 04:25:06 +00:00
2018-06-19 14:00:39 +00:00
2018-07-25 14:59:26 +00:00
2018-07-20 10:26:07 +00:00
2018-06-19 14:00:39 +00:00
2018-07-25 14:59:26 +00:00
2018-07-20 10:26:07 +00:00
2018-06-19 14:00:39 +00:00
2017-09-15 05:02:56 +00:00
2017-10-06 07:10:04 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-07-20 10:26:07 +00:00