Files
platform-external-webrtc/rtc_base
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-03-25 15:59:05 +00:00
2020-01-21 12:13:11 +00:00
2018-06-19 14:00:39 +00:00
2021-01-29 08:24:43 +00:00
2021-01-29 08:24:43 +00:00
2021-01-29 08:24:43 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2021-01-29 08:24:43 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2020-09-30 13:58:29 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2021-01-29 08:24:43 +00:00
2020-12-15 13:59:32 +00:00
2019-07-08 13:45:15 +00:00
2019-02-16 11:11:45 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-11-26 14:05:20 +00:00
2019-07-08 13:45:15 +00:00
2021-04-16 08:47:17 +00:00
2021-04-16 08:47:17 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2020-09-17 13:18:25 +00:00
2020-09-17 13:18:25 +00:00
2021-01-29 08:24:43 +00:00
2019-07-08 13:45:15 +00:00
2021-03-29 13:04:09 +00:00
2020-01-20 14:07:16 +00:00
2018-06-19 14:00:39 +00:00
2021-02-10 15:04:55 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-05-22 10:32:25 +00:00
2019-07-08 13:45:15 +00:00