Tommi
86ee89f73e
Simplify reference counting implementation of PendingTaskSafetyFlag.
...
On a 32bit system, this reduces the allocation size of the flag
down from 12 bytes to 8, and removes the need for a vtable (the extra
4 bytes are the vtable pointer).
The downside is that this change makes the binary layout of the
flag, less compatible with RefCountedObject<> based reference counting
objects and thus we don't immediately get the benefits of identical
COMDAT folding and subsequently there's a slight binary size increase.
With wider use, the binary size benefits will come.
Bug: none
Change-Id: I04129771790a3258d6accaf0ab1258b7a798a55e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/215681
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Tommi <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33793}
2021-04-21 07:04:01 +00:00
..
2021-04-21 07:04:01 +00:00
2021-04-21 07:04:01 +00:00
2021-04-19 22:58:15 +00:00
2019-04-09 17:18:20 +00:00
2020-02-18 22:36:00 +00:00
2020-02-18 22:36:00 +00:00
2021-04-13 23:30:52 +00:00
2019-09-17 15:47:29 +00:00
2019-07-08 13:45:15 +00:00
2018-11-28 18:25:07 +00:00
2020-11-05 21:22:19 +00:00
2019-07-08 13:45:15 +00:00
2019-12-03 19:17:24 +00:00
2021-04-19 22:58:15 +00:00
2021-04-19 22:58:15 +00:00
2020-02-18 22:36:00 +00:00
2021-04-13 23:30:52 +00:00
2021-04-13 23:30:52 +00:00
2020-10-14 08:26:18 +00:00
2020-10-14 08:26:18 +00:00
2021-04-13 23:30:52 +00:00
2019-04-09 17:18:20 +00:00
2019-07-08 13:45:15 +00:00
2019-10-23 23:34:46 +00:00
2018-11-28 18:25:07 +00:00
2021-01-28 22:59:30 +00:00
2019-12-13 09:36:25 +00:00
2019-07-08 13:45:15 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2019-09-17 15:47:29 +00:00
2019-07-08 13:45:15 +00:00
2021-04-09 20:48:32 +00:00
2021-04-19 22:58:15 +00:00
2019-08-21 07:55:07 +00:00
2020-02-26 20:35:54 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-11-07 09:32:24 +00:00
2018-11-28 18:25:07 +00:00
2020-09-07 08:44:24 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2019-07-08 13:45:15 +00:00
2021-02-10 15:04:55 +00:00
2018-12-22 00:10:40 +00:00
2019-12-03 19:17:24 +00:00
2019-12-03 19:17:24 +00:00
2019-12-03 19:17:24 +00:00
2021-04-21 07:04:01 +00:00
2020-05-28 14:11:53 +00:00
2019-12-13 09:36:25 +00:00
2019-12-03 19:17:24 +00:00
2019-07-08 13:45:15 +00:00
2020-09-07 18:29:13 +00:00
2019-08-21 07:55:07 +00:00
2020-01-17 23:14:21 +00:00
2019-04-02 10:13:36 +00:00
2020-09-15 21:34:24 +00:00
2018-11-28 18:25:07 +00:00
2019-07-08 13:45:15 +00:00
2019-01-11 17:11:39 +00:00
2019-04-09 17:18:20 +00:00
2020-11-03 07:52:42 +00:00
2020-11-03 07:52:42 +00:00
2019-04-09 17:18:20 +00:00
2020-12-03 17:33:19 +00:00
2019-04-09 17:18:20 +00:00
2019-12-16 09:57:59 +00:00
2019-09-17 15:47:29 +00:00
2019-09-17 15:47:29 +00:00
2019-12-16 09:57:59 +00:00
2018-11-28 18:25:07 +00:00
2018-11-28 18:25:07 +00:00
2019-01-25 20:29:58 +00:00
2019-10-15 09:07:44 +00:00
2019-12-16 09:57:59 +00:00
2018-11-28 18:25:07 +00:00
2020-12-03 17:33:19 +00:00
2020-11-05 21:22:19 +00:00
2019-01-11 17:11:39 +00:00
2019-12-16 09:57:59 +00:00
2020-10-02 07:29:31 +00:00
2019-01-25 20:29:58 +00:00
2019-12-03 19:17:24 +00:00
2019-12-13 09:36:25 +00:00
2019-09-17 15:47:29 +00:00
2019-12-13 09:36:25 +00:00