bugsnag / bugsnag-android

BugSnag crash monitoring and reporting tool for Android apps
https://www.bugsnag.com/platforms/android/
Other
1.18k stars 205 forks source link

Reduce use of Atomics in Session #2013

Closed YYChen01988 closed 4 months ago

YYChen01988 commented 4 months ago

Goal

Reduce use of Atomics in Session, so the value is more accurate syncing between multiple threads.

Changeset

Change autoCaptured type from AtomicBoolean to volatile boolean since it does not use specific atomic method.

bugsnagbot commented 4 months ago

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1844.56 1668.58
arm64_v8a 626.95 450.82
armeabi_v7a 561.42 385.29
x86 704.75 524.53
x86_64 671.99 495.86

Generated by :no_entry_sign: Danger