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

Avoid possible crashes in the ANR handler where the local reference table is exhausted #1988

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

lemnik
Copy link
Contributor

@lemnik lemnik commented Feb 28, 2024

Goal

Avoid possible crashes in the ANR handler where the local reference table is exhausted.

Design

Replaced the use of DeleteLocalRef with PushLocalFrame/PopLocalFrame to simplify the handling of the local references.

Testing

Manually tested and relied on existing tests

@bugsnagbot
Copy link
Collaborator

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1842.84 1668.14
arm64_v8a 626.95 450.82
armeabi_v7a 561.42 385.29
x86 700.66 524.53
x86_64 671.99 495.86

Generated by 🚫 Danger

Copy link
Contributor

@kstenerud kstenerud left a comment

Choose a reason for hiding this comment

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

Me likes!!!

Copy link
Contributor

@YYChen01988 YYChen01988 left a comment

Choose a reason for hiding this comment

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

LGTM

@lemnik lemnik merged commit 8780028 into next Mar 4, 2024
40 checks passed
@lemnik lemnik deleted the PLAT-11655/local-ref-table-overflow branch March 4, 2024 11:59
This was referenced Mar 13, 2024
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.

4 participants