René's URL Explorer Experiment


Title: perf(android): Defer SentryFrameMetricsCollector thread startup by runningcode · Pull Request #5641 · getsentry/sentry-java · GitHub

Open Graph Title: perf(android): Defer SentryFrameMetricsCollector thread startup by runningcode · Pull Request #5641 · getsentry/sentry-java

X Title: perf(android): Defer SentryFrameMetricsCollector thread startup by runningcode · Pull Request #5641 · getsentry/sentry-java

Description: A Sentry SDK for Java, Android and other JVM languages. - perf(android): Defer SentryFrameMetricsCollector thread startup by runningcode · Pull Request #5641 · getsentry/sentry-java

Open Graph Description: Resolves JAVA-535 📜 Description SentryFrameMetricsCollector created and started its HandlerThread in the constructor and then called new Handler(handlerThread.getLooper()). getLooper() blocks the c...

X Description: Resolves JAVA-535 📜 Description SentryFrameMetricsCollector created and started its HandlerThread in the constructor and then called new Handler(handlerThread.getLooper()). getLooper() blocks the c...

Opengraph URL: https://github.com/getsentry/sentry-java/pull/5641

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:55ac5625-0c69-48df-67a3-c43dd38e46b5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA86A:2953C9:1518FEA:1DA21F2:6B045FFE
html-safe-noncef6c2968c0d0ed3d679ebdc60e27440f61a0682bc12cec34d9944a087644544c6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODZBOjI5NTNDOToxNTE4RkVBOjFEQTIxRjI6NkIwNDVGRkUiLCJ2aXNpdG9yX2lkIjoiMjQxNzIwNTAwMTgyNDAwMjA0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf4927ed72ececff719e5ac7b1858a918caa90b2f47e79ef55d5654a604d22d1a
hovercard-subject-tagpull_request:3935293361
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-java/5641/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b2c304f1f4b60ade33097730cce36d55d612a45a8d4396b351b6781a8d468476/getsentry/sentry-java/pull/5641
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b2c304f1f4b60ade33097730cce36d55d612a45a8d4396b351b6781a8d468476/getsentry/sentry-java/pull/5641
og:image:altResolves JAVA-535 📜 Description SentryFrameMetricsCollector created and started its HandlerThread in the constructor and then called new Handler(handlerThread.getLooper()). getLooper() blocks the c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerunningcode
hostnamegithub.com
expected-hostnamegithub.com
None2d58451b4bcb73c33c67bfb6b28fb75fe6d5e279daf9b560fa4fd832f3d8c9a6
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3368190
octolytics-dimension-repository_nwogetsentry/sentry-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3368190
octolytics-dimension-repository_network_root_nwogetsentry/sentry-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release03e114520787ad27289207f153520ef97461127c
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-java/pull/5641#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fpull%2F5641
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fpull%2F5641
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-java
Reloadhttps://github.com/getsentry/sentry-java/pull/5641
Reloadhttps://github.com/getsentry/sentry-java/pull/5641
Reloadhttps://github.com/getsentry/sentry-java/pull/5641
getsentryhttps://github.com/getsentry
sentry-javahttps://github.com/getsentry/sentry-java
Codehttps://github.com/getsentry/sentry-java
Issues266 (266)https://github.com/getsentry/sentry-java/issues
Pull requests57 (57)https://github.com/getsentry/sentry-java/pulls
Discussionshttps://github.com/getsentry/sentry-java/discussions
Actionshttps://github.com/getsentry/sentry-java/actions
Projectshttps://github.com/getsentry/sentry-java/projects
Security and quality2 (2)https://github.com/getsentry/sentry-java/security
Insightshttps://github.com/getsentry/sentry-java/insights
https://github.com/getsentry/sentry-java
runningcodehttps://github.com/runningcode
mainhttps://github.com/getsentry/sentry-java/tree/main
no/perf-android-defer-framemetrics-threadhttps://github.com/getsentry/sentry-java/tree/no/perf-android-defer-framemetrics-thread
Conversationhttps://github.com/getsentry/sentry-java/pull/5641
Commits2 (2)https://github.com/getsentry/sentry-java/pull/5641/commits
Checkshttps://github.com/getsentry/sentry-java/pull/5641/checks
Files changedhttps://github.com/getsentry/sentry-java/pull/5641/files
perf(android): Defer SentryFrameMetricsCollector thread startuphttps://github.com/getsentry/sentry-java/pull/5641#top
runningcodehttps://github.com/runningcode
mainhttps://github.com/getsentry/sentry-java/tree/main
no/perf-android-defer-framemetrics-threadhttps://github.com/getsentry/sentry-java/tree/no/perf-android-defer-framemetrics-thread
https://github.com/runningcode
runningcodehttps://github.com/runningcode
Jun 25, 2026https://github.com/getsentry/sentry-java/pull/5641#issue-4743933231
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
JAVA-535https://linear.app/getsentry/issue/JAVA-535/defer-sentryframemetricscollector-thread-startup
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
Jun 25, 2026https://github.com/getsentry/sentry-java/pull/5641#issuecomment-4799387288
JAVA-535https://linear.app/getsentry/issue/JAVA-535
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
https://github.com/runningcode
runningcodehttps://github.com/runningcode
Jun 25, 2026 https://github.com/getsentry/sentry-java/pull/5641#ref-issue-4547224636
Defer SentryFrameMetricsCollector thread startup #5483 https://github.com/getsentry/sentry-java/issues/5483
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Jun 25, 2026https://github.com/getsentry/sentry-java/pull/5641#issuecomment-4799405325
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
SDK Sizehttps://sentry-sdks.sentry.io/preprod/install/365055
⚙️ sentry-android Build Distribution Settingshttps://sentry-sdks.sentry.io/settings/projects/sentry-android/mobile-builds/?tab=distribution
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 25, 2026https://github.com/getsentry/sentry-java/pull/5641#issuecomment-4799570506
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
1edbdfahttps://github.com/getsentry/sentry-java/commit/1edbdfaa13624c3e42423a469a5f37a66a0d60ec
a416a65https://github.com/getsentry/sentry-java/commit/a416a65280ccb343a8cceaf8ada5a0cde0c53306
d15471fhttps://github.com/getsentry/sentry-java/commit/d15471fde010743bf7ac30aa2c5a7ed61ebea807
22f4345https://github.com/getsentry/sentry-java/commit/22f43457e436a2b0eff84aac3f3f85f335398c46
6b019b7https://github.com/getsentry/sentry-java/commit/6b019b757adad61364e3f2fb04fb10060b4b5f44
22f4345https://github.com/getsentry/sentry-java/commit/22f43457e436a2b0eff84aac3f3f85f335398c46
d217708https://github.com/getsentry/sentry-java/commit/d21770841d84eddba0636e2082c029db2a158457
319f256https://github.com/getsentry/sentry-java/commit/319f256b2fea529f1d4b9cd8725d3c412fe17603
e2dce0bhttps://github.com/getsentry/sentry-java/commit/e2dce0b7ae88cde49ff74fe2c23e77949c449815
8558cachttps://github.com/getsentry/sentry-java/commit/8558cacae503ef0248a7afe38f2f4e84610c3c7d
1edbdfahttps://github.com/getsentry/sentry-java/commit/1edbdfaa13624c3e42423a469a5f37a66a0d60ec
a416a65https://github.com/getsentry/sentry-java/commit/a416a65280ccb343a8cceaf8ada5a0cde0c53306
d15471fhttps://github.com/getsentry/sentry-java/commit/d15471fde010743bf7ac30aa2c5a7ed61ebea807
22f4345https://github.com/getsentry/sentry-java/commit/22f43457e436a2b0eff84aac3f3f85f335398c46
6b019b7https://github.com/getsentry/sentry-java/commit/6b019b757adad61364e3f2fb04fb10060b4b5f44
22f4345https://github.com/getsentry/sentry-java/commit/22f43457e436a2b0eff84aac3f3f85f335398c46
d217708https://github.com/getsentry/sentry-java/commit/d21770841d84eddba0636e2082c029db2a158457
319f256https://github.com/getsentry/sentry-java/commit/319f256b2fea529f1d4b9cd8725d3c412fe17603
e2dce0bhttps://github.com/getsentry/sentry-java/commit/e2dce0b7ae88cde49ff74fe2c23e77949c449815
8558cachttps://github.com/getsentry/sentry-java/commit/8558cacae503ef0248a7afe38f2f4e84610c3c7d
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
https://github.com/runningcode
runningcodehttps://github.com/runningcode
June 25, 2026 13:09https://github.com/getsentry/sentry-java/pull/5641#event-27200351977
https://github.com/runningcode
runningcodehttps://github.com/runningcode
0xadam-brownhttps://github.com/0xadam-brown
adinauerhttps://github.com/adinauer
markushihttps://github.com/markushi
romtsnhttps://github.com/romtsn
code ownershttps://github.com/getsentry/sentry-java/blob/e0a2a6e63c9cf289a0d15f16b91b2ce19adf2fc6/.github/CODEOWNERS#L1
June 25, 2026 13:09https://github.com/getsentry/sentry-java/pull/5641#event-27200352566
https://github.com/runningcode
runningcodehttps://github.com/runningcode
Jun 26, 2026 https://github.com/getsentry/sentry-java/pull/5641#pullrequestreview-4579064309
View reviewed changes https://github.com/getsentry/sentry-java/pull/5641/files
...oid-core/src/main/java/io/sentry/android/core/internal/util/SentryFrameMetricsCollector.javahttps://github.com/getsentry/sentry-java/pull/5641/files#diff-08b55d7afe75df15f9d120c9e491682051789e2c3bdae5c194fa74f4a916e17e
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
https://github.com/0xadam-brown
0xadam-brownhttps://github.com/0xadam-brown
Jun 26, 2026 https://github.com/getsentry/sentry-java/pull/5641#pullrequestreview-4579258256
View reviewed changes https://github.com/getsentry/sentry-java/pull/5641/files
0xadam-brownhttps://github.com/0xadam-brown
https://github.com/getsentry/sentry-java/pull/5641#pullrequestreview-4579258256
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
...oid-core/src/main/java/io/sentry/android/core/internal/util/SentryFrameMetricsCollector.javahttps://github.com/getsentry/sentry-java/pull/5641/files#diff-08b55d7afe75df15f9d120c9e491682051789e2c3bdae5c194fa74f4a916e17e
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
...oid-core/src/main/java/io/sentry/android/core/internal/util/SentryFrameMetricsCollector.javahttps://github.com/getsentry/sentry-java/pull/5641/files#diff-08b55d7afe75df15f9d120c9e491682051789e2c3bdae5c194fa74f4a916e17e
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
...oid-core/src/main/java/io/sentry/android/core/internal/util/SentryFrameMetricsCollector.javahttps://github.com/getsentry/sentry-java/pull/5641/files#diff-08b55d7afe75df15f9d120c9e491682051789e2c3bdae5c194fa74f4a916e17e
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
https://github.com/romtsn
romtsnhttps://github.com/romtsn
Jun 26, 2026 https://github.com/getsentry/sentry-java/pull/5641#pullrequestreview-4579569772
View reviewed changes https://github.com/getsentry/sentry-java/pull/5641/files
romtsnhttps://github.com/romtsn
https://github.com/getsentry/sentry-java/pull/5641#pullrequestreview-4579569772
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
https://github.com/runningcode
runningcodehttps://github.com/runningcode
force-pushedhttps://github.com/getsentry/sentry-java/compare/b557893d313ac2bf84ba9d85c84c86498aa7ac2a..fd5a77c3d9ed1e4e24bbaecb081fcb7e50694c69
b557893https://github.com/getsentry/sentry-java/commit/b557893d313ac2bf84ba9d85c84c86498aa7ac2a
fd5a77chttps://github.com/getsentry/sentry-java/commit/fd5a77c3d9ed1e4e24bbaecb081fcb7e50694c69
Compare https://github.com/getsentry/sentry-java/compare/b557893d313ac2bf84ba9d85c84c86498aa7ac2a..fd5a77c3d9ed1e4e24bbaecb081fcb7e50694c69
June 30, 2026 09:40https://github.com/getsentry/sentry-java/pull/5641#event-27371099705
https://github.com/runningcode
runningcodehttps://github.com/runningcode
June 30, 2026 09:41https://github.com/getsentry/sentry-java/pull/5641#event-27371149678
runningcodehttps://github.com/runningcode
June 30, 2026 11:47https://github.com/getsentry/sentry-java/pull/5641#commits-pushed-ca68244
https://github.com/runningcode
https://github.com/claude
perf(android): Start frame metrics thread lazily on first collectionhttps://github.com/getsentry/sentry-java/pull/5641/commits/ca6824461e191bd3bfaac94f1667f48f7f225cb2
ca68244https://github.com/getsentry/sentry-java/pull/5641/commits/ca6824461e191bd3bfaac94f1667f48f7f225cb2
https://github.com/runningcode
changeloghttps://github.com/getsentry/sentry-java/pull/5641/commits/647105c3d42219464e5d447501e2804c36be04e5
647105chttps://github.com/getsentry/sentry-java/pull/5641/commits/647105c3d42219464e5d447501e2804c36be04e5
https://github.com/runningcode
runningcodehttps://github.com/runningcode
force-pushedhttps://github.com/getsentry/sentry-java/compare/fd5a77c3d9ed1e4e24bbaecb081fcb7e50694c69..647105c3d42219464e5d447501e2804c36be04e5
fd5a77chttps://github.com/getsentry/sentry-java/commit/fd5a77c3d9ed1e4e24bbaecb081fcb7e50694c69
647105chttps://github.com/getsentry/sentry-java/commit/647105c3d42219464e5d447501e2804c36be04e5
Compare https://github.com/getsentry/sentry-java/compare/fd5a77c3d9ed1e4e24bbaecb081fcb7e50694c69..647105c3d42219464e5d447501e2804c36be04e5
June 30, 2026 09:48https://github.com/getsentry/sentry-java/pull/5641#event-27371411829
https://github.com/runningcode
runningcodehttps://github.com/runningcode
3859a2chttps://github.com/getsentry/sentry-java/commit/3859a2cc37716e2c8d9f149a0d94a1552f22c248
Jun 30, 2026https://github.com/getsentry/sentry-java/pull/5641#event-27371832827
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
https://github.com/runningcode
runningcodehttps://github.com/runningcode
June 30, 2026 09:58https://github.com/getsentry/sentry-java/pull/5641#event-27371833616
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Jul 2, 2026 https://github.com/getsentry/sentry-java/pull/5641#ref-issue-4793265129
publish: getsentry/sentry-java@8.47.0 getsentry/publish#8771 https://github.com/getsentry/publish/issues/8771
https://github.com/0xadam-brown
0xadam-brownhttps://github.com/0xadam-brown
Aug 4, 2026 https://github.com/getsentry/sentry-java/pull/5641#ref-pullrequest-5060076841
fix(android): Defer frame metrics reflection during init #5886 https://github.com/getsentry/sentry-java/pull/5886
https://github.com/ikerfah
ikerfahhttps://github.com/ikerfah
Nov 2, 2026 https://github.com/getsentry/sentry-java/pull/5641#ref-issue-6160266956
SentryFrameMetricsCollector blocks the main thread in HandlerThread.getLooper() when the first activity transaction starts #6443 https://github.com/getsentry/sentry-java/issues/6443
https://github.com/romtsn
romtsnhttps://github.com/romtsn
Nov 6, 2026 https://github.com/getsentry/sentry-java/pull/5641#ref-pullrequest-6243555330
fix(android): Don't block the main thread on the frame metrics looper #6500 https://github.com/getsentry/sentry-java/pull/6500
https://github.co/hiddenchars
https://github.com/getsentry/sentry-java/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fpull%2F5641
https://github.com/0xadam-brown
0xadam-brown https://github.com/0xadam-brown
https://github.com/getsentry/sentry-java/pull/5641/files/b557893d313ac2bf84ba9d85c84c86498aa7ac2a
https://github.com/romtsn
romtsn https://github.com/romtsn
https://github.com/getsentry/sentry-java/pull/5641/files/b557893d313ac2bf84ba9d85c84c86498aa7ac2a
https://github.com/adinauer
adinauer https://github.com/adinauer
https://github.com/markushi
markushi https://github.com/markushi
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
Please reload this pagehttps://github.com/getsentry/sentry-java/pull/5641
https://github.com/runningcode
https://github.com/romtsn
https://github.com/0xadam-brown
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.