René's URL Explorer Experiment


Title: fix: isolate/runtime lifetime — worker startup race, teardown use-after-free, and leaks by edusperoni · Pull Request #2006 · NativeScript/android · GitHub

Open Graph Title: fix: isolate/runtime lifetime — worker startup race, teardown use-after-free, and leaks by edusperoni · Pull Request #2006 · NativeScript/android

X Title: fix: isolate/runtime lifetime — worker startup race, teardown use-after-free, and leaks by edusperoni · Pull Request #2006 · NativeScript/android

Description: NativeScript for Android using v8. Contribute to NativeScript/android development by creating an account on GitHub.

Open Graph Description: Crash and leak fixes around isolate/runtime lifetime. They share one invariant: State bound to a runtime is owned by that runtime, and released on its own thread while its isolate is still alive. ...

X Description: Crash and leak fixes around isolate/runtime lifetime. They share one invariant: State bound to a runtime is owned by that runtime, and released on its own thread while its isolate is still alive. ...

Opengraph URL: https://github.com/NativeScript/android/pull/2006

X: @github

direct link

Domain: github.com

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:4e532906-41cc-92b1-ef8c-07e52bc6fce3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9EC4:213839:1890CC0:1F73431:6B013330
html-safe-noncea6c927060008163f57b8b5abc1fa1932711a3fae58da021060514786cfce4164
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUM0OjIxMzgzOToxODkwQ0MwOjFGNzM0MzE6NkIwMTMzMzAiLCJ2aXNpdG9yX2lkIjoiMTcwODc0ODQ5NzA4MTE1MjMwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbcba41b008c9f5f105dcf5e7030cca7e10b5818aa874ca66b4db8542c3420908
hovercard-subject-tagpull_request:4282572547
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/NativeScript/android/2006/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/79731c1e88c7cbc15d243c37ff5f0ec36809c6222e3e4b919f809478b12fa31d/NativeScript/android/pull/2006
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/79731c1e88c7cbc15d243c37ff5f0ec36809c6222e3e4b919f809478b12fa31d/NativeScript/android/pull/2006
og:image:altCrash and leak fixes around isolate/runtime lifetime. They share one invariant: State bound to a runtime is owned by that runtime, and released on its own thread while its isolate is still alive. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameedusperoni
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/NativeScript/android git https://github.com/NativeScript/android.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id29137950
octolytics-dimension-repository_nwoNativeScript/android
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id29137950
octolytics-dimension-repository_network_root_nwoNativeScript/android
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/NativeScript/android/pull/2006#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fandroid%2Fpull%2F2006
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%2FNativeScript%2Fandroid%2Fpull%2F2006
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=NativeScript%2Fandroid
Reloadhttps://github.com/NativeScript/android/pull/2006
Reloadhttps://github.com/NativeScript/android/pull/2006
Reloadhttps://github.com/NativeScript/android/pull/2006
NativeScripthttps://github.com/NativeScript
androidhttps://github.com/NativeScript/android
Codehttps://github.com/NativeScript/android
Issues106 (106)https://github.com/NativeScript/android/issues
Pull requests24 (24)https://github.com/NativeScript/android/pulls
Actionshttps://github.com/NativeScript/android/actions
Projectshttps://github.com/NativeScript/android/projects
Wikihttps://github.com/NativeScript/android/wiki
Security and qualityhttps://github.com/NativeScript/android/security
Insightshttps://github.com/NativeScript/android/insights
https://github.com/NativeScript/android
edusperonihttps://github.com/edusperoni
mainhttps://github.com/NativeScript/android/tree/main
fix/worker-isolate-cache-racehttps://github.com/NativeScript/android/tree/fix/worker-isolate-cache-race
Conversationhttps://github.com/NativeScript/android/pull/2006
Commits4 (4)https://github.com/NativeScript/android/pull/2006/commits
Checkshttps://github.com/NativeScript/android/pull/2006/checks
Files changedhttps://github.com/NativeScript/android/pull/2006/files
fix: isolate/runtime lifetime — worker startup race, teardown use-after-free, and leakshttps://github.com/NativeScript/android/pull/2006#top
edusperonihttps://github.com/edusperoni
mainhttps://github.com/NativeScript/android/tree/main
fix/worker-isolate-cache-racehttps://github.com/NativeScript/android/tree/fix/worker-isolate-cache-race
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
Aug 14, 2026https://github.com/NativeScript/android/pull/2006#issue-5154935518
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
fix: delete self-owned URL wrappers at isolate teardown ios#438https://github.com/NativeScript/ios/pull/438
#2007https://github.com/NativeScript/android/pull/2007
feat: ESM loader overhaul — Web/Node parity, ns:module dev surface, HTTP module loader #1965https://github.com/NativeScript/android/pull/1965
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 14, 2026https://github.com/NativeScript/android/pull/2006#issuecomment-5297253330
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
https://app.coderabbit.ai/change-stack/NativeScript/android/pull/2006?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
d87221dhttps://github.com/NativeScript/android/commit/d87221d41b05f0247a562d7ba2a75dbb63abb9f1
e7b3d14https://github.com/NativeScript/android/commit/e7b3d14176d0a5cb74ed19d2d3150d7ab96c9587
Runtime lifetime: deferred leaks, cross-isolate sharing, and startup robustness #2010https://github.com/NativeScript/android/issues/2010
NativeScript/android#2004https://github.com/NativeScript/android/pull/2004
NativeScript/android#1989https://github.com/NativeScript/android/pull/1989
NativeScript/android#1990https://github.com/NativeScript/android/pull/1990
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=NativeScript/android&utm_content=2006
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
August 14, 2026 20:18https://github.com/NativeScript/android/pull/2006#event-29479038979
https://github.com/edusperoni
fix: own isolate-bound state per runtime instead of in shared mapshttps://github.com/NativeScript/android/pull/2006/commits/7699369fb59006cf243fccf262e177b20aa26e22
7699369https://github.com/NativeScript/android/pull/2006/commits/7699369fb59006cf243fccf262e177b20aa26e22
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
force-pushedhttps://github.com/NativeScript/android/compare/f3405cdff6b102f70b6c99a73a0055d4f190d255..7699369fb59006cf243fccf262e177b20aa26e22
f3405cdhttps://github.com/NativeScript/android/commit/f3405cdff6b102f70b6c99a73a0055d4f190d255
7699369https://github.com/NativeScript/android/commit/7699369fb59006cf243fccf262e177b20aa26e22
Compare https://github.com/NativeScript/android/compare/f3405cdff6b102f70b6c99a73a0055d4f190d255..7699369fb59006cf243fccf262e177b20aa26e22
August 14, 2026 20:39https://github.com/NativeScript/android/pull/2006#event-29479882160
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
Aug 14, 2026https://github.com/NativeScript/android/pull/2006#event-29479882618
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
Aug 14, 2026 https://github.com/NativeScript/android/pull/2006#ref-pullrequest-5155649994
fix: restore native tombstones and record runtime crash breadcrumbs #2007 https://github.com/NativeScript/android/pull/2007
https://github.com/edusperoni
fix: release isolate-bound state while the isolate is still alivehttps://github.com/NativeScript/android/pull/2006/commits/6c294e493a4d2481ac8b1c9d0b604f5ae64c6846
6c294e4https://github.com/NativeScript/android/pull/2006/commits/6c294e493a4d2481ac8b1c9d0b604f5ae64c6846
NativeScript/ios#438https://github.com/NativeScript/ios/pull/438
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
Aug 14, 2026https://github.com/NativeScript/android/pull/2006#event-29482052796
https://github.com/edusperoni
fix: don't reset constant handles the constructor never allocatedhttps://github.com/NativeScript/android/pull/2006/commits/d87221d41b05f0247a562d7ba2a75dbb63abb9f1
d87221dhttps://github.com/NativeScript/android/pull/2006/commits/d87221d41b05f0247a562d7ba2a75dbb63abb9f1
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
August 14, 2026 22:06https://github.com/NativeScript/android/pull/2006#event-29482953764
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 14, 2026 https://github.com/NativeScript/android/pull/2006#pullrequestreview-4941590304
View reviewed changes https://github.com/NativeScript/android/pull/2006/files/d87221d41b05f0247a562d7ba2a75dbb63abb9f1
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/NativeScript/android/pull/2006#pullrequestreview-4941590304
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
f3405cdhttps://github.com/NativeScript/android/commit/f3405cdff6b102f70b6c99a73a0055d4f190d255
d87221dhttps://github.com/NativeScript/android/commit/d87221d41b05f0247a562d7ba2a75dbb63abb9f1
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
test-app/runtime/src/main/cpp/MetadataNode.hhttps://github.com/NativeScript/android/pull/2006/files/d87221d41b05f0247a562d7ba2a75dbb63abb9f1#diff-ac7f7c34025389ca6f1145667245073945ad1bc6b2b1285a05bf4d084924f091
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
test-app/runtime/src/main/cpp/Runtime.cpphttps://github.com/NativeScript/android/pull/2006/files/d87221d41b05f0247a562d7ba2a75dbb63abb9f1#diff-b9490640f5d26f7cd6b9a176a2142b8e985a6aac9e2d64287de37fc694e80cc3
coderabbitaihttps://github.com/apps/coderabbitai
Aug 14, 2026https://github.com/NativeScript/android/pull/2006#discussion_r3787503180
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
edusperonihttps://github.com/edusperoni
Aug 14, 2026https://github.com/NativeScript/android/pull/2006#discussion_r3787616173
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
coderabbitaihttps://github.com/apps/coderabbitai
Aug 14, 2026https://github.com/NativeScript/android/pull/2006#discussion_r3787617340
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
review instructionshttps://docs.coderabbit.ai/guides/review-instructions
apphttps://app.coderabbit.ai/learnings
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
test-app/runtime/src/main/cpp/RuntimeState.hhttps://github.com/NativeScript/android/pull/2006/files/d87221d41b05f0247a562d7ba2a75dbb63abb9f1#diff-b0c4aa133636992fe63013032cf18f301e65077763c2aa2a0d70f3c8c296acac
coderabbitaihttps://github.com/apps/coderabbitai
Aug 14, 2026https://github.com/NativeScript/android/pull/2006#discussion_r3787503182
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
edusperonihttps://github.com/edusperoni
Aug 14, 2026https://github.com/NativeScript/android/pull/2006#discussion_r3787616245
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
coderabbitaihttps://github.com/apps/coderabbitai
Aug 14, 2026https://github.com/NativeScript/android/pull/2006#discussion_r3787617586
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
review instructionshttps://docs.coderabbit.ai/guides/review-instructions
apphttps://app.coderabbit.ai/learnings
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
fix: release ObjectManager's JS handles and JNI weak refs at teardown #2008 https://github.com/NativeScript/android/pull/2008
Runtime lifetime: deferred leaks, cross-isolate sharing, and startup robustness #2010 https://github.com/NativeScript/android/issues/2010
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
Aug 14, 2026https://github.com/NativeScript/android/pull/2006#issuecomment-5298914030
#2010https://github.com/NativeScript/android/issues/2010
#2008https://github.com/NativeScript/android/pull/2008
#1965https://github.com/NativeScript/android/pull/1965
#2007https://github.com/NativeScript/android/pull/2007
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
https://github.com/edusperoni
fix: free the constructor caches' persistents in ~MetadataNodeCachehttps://github.com/NativeScript/android/pull/2006/commits/e7b3d14176d0a5cb74ed19d2d3150d7ab96c9587
e7b3d14https://github.com/NativeScript/android/pull/2006/commits/e7b3d14176d0a5cb74ed19d2d3150d7ab96c9587
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
19faa3dhttps://github.com/NativeScript/android/commit/19faa3d2c9a0aa16a45ba2eb36f649637889a78c
Aug 14, 2026https://github.com/NativeScript/android/pull/2006#event-29484963397
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
August 14, 2026 23:17https://github.com/NativeScript/android/pull/2006#event-29484964192
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 15, 2026 https://github.com/NativeScript/android/pull/2006#ref-pullrequest-4608967242
feat: reloadApplication for JS bundle restart without restarting app process #1963 https://github.com/NativeScript/android/pull/1963
https://github.com/edusperoni
edusperonihttps://github.com/edusperoni
Aug 15, 2026 https://github.com/NativeScript/android/pull/2006#ref-pullrequest-5157410472
fix: runtime lifetime — deferred leaks, cross-isolate sharing, startup robustness #2013 https://github.com/NativeScript/android/pull/2013
edusperonihttps://github.com/edusperoni
Aug 15, 2026 https://github.com/NativeScript/android/pull/2006#ref-commit-e2ede45
https://github.com/edusperoni
fix: runtime lifetime — deferred leaks, cross-isolate sharing, startu…https://github.com/NativeScript/android/commit/e2ede45c502eb474a612455a5bc232b8324125d2
e2ede45https://github.com/NativeScript/android/commit/e2ede45c502eb474a612455a5bc232b8324125d2
#2013https://github.com/NativeScript/android/pull/2013
#2006https://github.com/NativeScript/android/pull/2006
#2008https://github.com/NativeScript/android/pull/2008
https://github.co/hiddenchars
https://github.com/NativeScript/android/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%2FNativeScript%2Fandroid%2Fpull%2F2006
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/NativeScript/android/pull/2006/files/e7b3d14176d0a5cb74ed19d2d3150d7ab96c9587
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
Please reload this pagehttps://github.com/NativeScript/android/pull/2006
https://github.com/edusperoni
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

Viewport: width=device-width


URLs of crawlers that visited me.