getsentry / getsentry/sentry-java
Capture information for all threads and their current stacktrace at ANR time
- Dominant language
- Kotlin
- Stars
- 1.4k
- Forks
- 478
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 69
Description
Capture a full snapshot of all running threads at ANR time, including their stack traces, current state, and the origin of handlers posted to the main looper. Automatically parse lock information from the thread dump to infer deadlock chains and identify which threads are blocking one another.
**Votes in brainstorming session:** 2
**Notion source:** [https://www.notion.so/3348b10e4b5d8004a7a3c5fd34b24b44]()
Contributor guide
Research direction
The issue names no files or tests. Begin by locating the Android ANR capture entry point, then trace how the main looper, thread dumps, stack traces, states, and lock information are represented. Done means a complete ANR-time snapshot can identify handler origins and inferred blocking relationships, with tests covering the collected data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, kotlin
- Domain
- mobile, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100