Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce use of Atomics in Session #2013

Merged
merged 2 commits into from
Apr 16, 2024

Conversation

YYChen01988
Copy link
Contributor

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.

@YYChen01988 YYChen01988 requested a review from lemnik April 12, 2024 07:55
@bugsnagbot
Copy link
Collaborator

bugsnagbot commented Apr 12, 2024

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 🚫 Danger

@YYChen01988 YYChen01988 force-pushed the PLAT11876/reduce_use_of_Atomics_in_Session branch 3 times, most recently from 5aad846 to f4db119 Compare April 12, 2024 09:02
… boolean since it does not use specific atomic method
@YYChen01988 YYChen01988 force-pushed the PLAT11876/reduce_use_of_Atomics_in_Session branch from f4db119 to a96b03a Compare April 16, 2024 09:13
@YYChen01988 YYChen01988 requested a review from lemnik April 16, 2024 09:14
Copy link
Contributor

@lemnik lemnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Pending CI

@YYChen01988 YYChen01988 merged commit 5531196 into next Apr 16, 2024
26 checks passed
@YYChen01988 YYChen01988 deleted the PLAT11876/reduce_use_of_Atomics_in_Session branch April 16, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants