You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5cb2c36
Browse filesBrowse the repository at this point in the historyBrowse files
authored
perf(replay): Use RGB_565 when alpha is unnecessary (#5821)
* fix(replay): Prevent concurrent PixelCopy frame access
Keep PixelCopy, masking, compositing, and cleanup from accessing the shared bitmap concurrently.
FixesGH-5340
Co-Authored-By: Codex <noreply@openai.com>
* fix(android-replay): Preserve pending PixelCopy capture
Re-arm the recorder's content-change gate when a capture is skipped because another frame is still in flight. This ensures the latest UI state is retried on the next capture interval.
Refs GH-5340
Co-Authored-By: OpenAI Codex <noreply@openai.com>
* perf(android-replay): Use RGB_565 when alpha is unnecessary
Reduce replay screenshot memory while retaining ARGB_8888 for SurfaceView compositing.
Refs GH-5340
Co-Authored-By: Codex <noreply@openai.com>
* perf(screenshot): Use RGB_565 for screenshot capture bitmaps
Screen content is always opaque so the alpha channel in ARGB_8888 is wasted.
RGB_565 halves the per-screenshot bitmap memory (~2B/px vs 4B/px).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(replay): Remove duplicate test methods from rebase
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* changelog
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: Move changelog entry to Unreleased section
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(screenshot): Log PixelCopy result code on failure
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Format code
---------
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
13
13
### Performance
14
14
15
+
- Use `RGB_565` instead of `ARGB_8888` for screenshot and replay capture bitmaps, halving per-frame memory usage ([#5821](https://github.com/getsentry/sentry-java/pull/5821))
15
16
- Remove an unused lock from `SentryPerformanceProvider`, which was allocated on every cold start in `ContentProvider.onCreate` without ever being acquired ([#5871](https://github.com/getsentry/sentry-java/pull/5871))
16
17
- Parse the app start profiling config with only the deserializer it needs instead of building a full `JsonSerializer` and `SentryOptions`, cutting 188 of 221 allocations on the main thread before `Application.onCreate` ([#5867](https://github.com/getsentry/sentry-java/pull/5867))
17
18
- Batch and coalesce scope-persistence disk writes to reduce startup cost ([#5791](https://github.com/getsentry/sentry-java/pull/5791))
0 commit comments