webrtc/stats
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
..
test webrtc: Remove semicolons. 2019-02-20 16:02:59 +00:00
BUILD.gn Remove from chromium build targets that are not compatible with it. 2021-02-01 13:46:19 +00:00
DEPS Remove +api from internal DEPS files. 2019-01-28 11:17:00 +00:00
OWNERS Remove wildcard ownership for build files. 2020-02-19 14:05:46 +00:00
rtc_stats.cc Fix -Wrange-loop-analysis. 2020-11-05 15:55:33 +00:00
rtc_stats_report.cc Simplify reference counting implementation of PendingTaskSafetyFlag. 2021-04-21 07:04:01 +00:00
rtc_stats_report_unittest.cc Fix -Wextra-semi warnings. 2019-02-25 09:22:51 +00:00
rtc_stats_unittest.cc Add test-only group id. 2019-03-29 15:53:16 +00:00
rtcstats_objects.cc Remove RTCRemoteInboundRtpStreamStats duplicate members. 2021-04-08 09:06:24 +00:00