René's URL Explorer Experiment


Title: domain: avoid circular memory references by addaleax · Pull Request #25993 · nodejs/node · GitHub

Open Graph Title: domain: avoid circular memory references by addaleax · Pull Request #25993 · nodejs/node

X Title: domain: avoid circular memory references by addaleax · Pull Request #25993 · nodejs/node

Description: src: add WeakReference utility Add a simple WeakReference utility that we can use until the language provides something on its own. domain: avoid circular memory references Avoid circular references that the JS engine cannot see through because it involves an async id ⇒ domain link. Using weak references is not a great solution, because it increases the domain module’s dependency on internals and the added calls into C++ may affect performance, but it seems like the least bad one. Fixes: #23862 Checklist make -j4 test (UNIX), or vcbuild test (Windows) passes tests and/or benchmarks are included commit message follows commit guidelines

Open Graph Description: src: add WeakReference utility Add a simple WeakReference utility that we can use until the language provides something on its own. domain: avoid circular memory references Avoid circular reference...

X Description: src: add WeakReference utility Add a simple WeakReference utility that we can use until the language provides something on its own. domain: avoid circular memory references Avoid circular reference...

Opengraph URL: https://github.com/nodejs/node/pull/25993

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8fb6acaf-7394-e997-a338-d289d415658d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB280:1FD1:1A283A0:2388F30:6B04527D
html-safe-nonce280f5516fc18197633efe219abae32d5686e55f35a186d3ee174555057110cc3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjgwOjFGRDE6MUEyODNBMDoyMzg4RjMwOjZCMDQ1MjdEIiwidmlzaXRvcl9pZCI6IjcxNjkxNzE4ODA1Njg3MDU2NjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5af87e1e6217137f963323d4cb84ffde0c7558ff5953ff218585103b40a2f23f
hovercard-subject-tagpull_request:251257147
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/nodejs/node/pull/25993/files
twitter:imagehttps://avatars.githubusercontent.com/u/899444?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/899444?s=400&v=4
og:image:altsrc: add WeakReference utility Add a simple WeakReference utility that we can use until the language provides something on its own. domain: avoid circular memory references Avoid circular reference...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee086f9b7e88322eb2b41885a6ad425b215737fa5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/pull/25993/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F25993%2Ffiles
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%2Fnodejs%2Fnode%2Fpull%2F25993%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/pull/25993/files
Reloadhttps://github.com/nodejs/node/pull/25993/files
Reloadhttps://github.com/nodejs/node/pull/25993/files
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues633 (633)https://github.com/nodejs/node/issues
Pull requests671 (671)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose
addaleaxhttps://github.com/addaleax
nodejs:masterhttps://github.com/nodejs/node/tree/master
addaleax:domain-leakhttps://github.com/addaleax/node/tree/domain-leak
Conversation 29 https://github.com/nodejs/node/pull/25993
Commits 4 https://github.com/nodejs/node/pull/25993/commits
Checks 0 https://github.com/nodejs/node/pull/25993/checks
Files changed https://github.com/nodejs/node/pull/25993/files
Please reload this pagehttps://github.com/nodejs/node/pull/25993/files
domain: avoid circular memory references https://github.com/nodejs/node/pull/25993/files#top
Show all changes 4 commits https://github.com/nodejs/node/pull/25993/files
ebaae77 src: add WeakReference utility addaleax Feb 7, 2019 https://github.com/nodejs/node/pull/25993/commits/ebaae7762d925310fd8d9c316d434736c55af69b
6081b5c domain: avoid circular memory references addaleax Feb 7, 2019 https://github.com/nodejs/node/pull/25993/commits/6081b5cb729c22b3658f81ff7e8fc592970503b2
fa56b35 fixup! src: add WeakReference utility addaleax Feb 8, 2019 https://github.com/nodejs/node/pull/25993/commits/fa56b3542b7d405ef0d734e0616dcf0ceee6bae2
30449e8 fixup! domain: avoid circular memory references addaleax Feb 8, 2019 https://github.com/nodejs/node/pull/25993/commits/30449e8409b3d02f9a72412216de9c9346193e1a
Clear filters https://github.com/nodejs/node/pull/25993/files
Please reload this pagehttps://github.com/nodejs/node/pull/25993/files
Please reload this pagehttps://github.com/nodejs/node/pull/25993/files
domain.js https://github.com/nodejs/node/pull/25993/files#diff-f7f9af64ce3fbfb8fdb6e52d2452693b71f38e1cbedca80c22e2c7a59c7145e6
node_util.cc https://github.com/nodejs/node/pull/25993/files#diff-82d611c6585d821efdd177164db119132dee7fdb7fa49a17cd646e7516133612
test-domain-async-id-map-leak.js https://github.com/nodejs/node/pull/25993/files#diff-d6326f342a510decfac95968f734318975d473683d16c353baa787ca9eef6771
test-internal-util-weakreference.js https://github.com/nodejs/node/pull/25993/files#diff-a64ad8176b3c3438d1b7825424ed7e85b0a19e71125dd3dd550e628acf515aac
lib/domain.jshttps://github.com/nodejs/node/pull/25993/files#diff-f7f9af64ce3fbfb8fdb6e52d2452693b71f38e1cbedca80c22e2c7a59c7145e6
View file https://github.com/addaleax/node/blob/30449e8409b3d02f9a72412216de9c9346193e1a/lib/domain.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/25993/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/25993/files#diff-f7f9af64ce3fbfb8fdb6e52d2452693b71f38e1cbedca80c22e2c7a59c7145e6
https://github.com/nodejs/node/pull/25993/files#diff-f7f9af64ce3fbfb8fdb6e52d2452693b71f38e1cbedca80c22e2c7a59c7145e6
bnoordhuishttps://github.com/bnoordhuis
Feb 8, 2019https://github.com/nodejs/node/pull/25993/files#r255108879
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/25993/files
addaleaxhttps://github.com/addaleax
Feb 8, 2019https://github.com/nodejs/node/pull/25993/files#r255112658
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/25993/files
Please reload this pagehttps://github.com/nodejs/node/pull/25993/files
https://github.com/nodejs/node/pull/25993/files#diff-f7f9af64ce3fbfb8fdb6e52d2452693b71f38e1cbedca80c22e2c7a59c7145e6
https://github.com/nodejs/node/pull/25993/files#diff-f7f9af64ce3fbfb8fdb6e52d2452693b71f38e1cbedca80c22e2c7a59c7145e6
https://github.com/nodejs/node/pull/25993/files#diff-f7f9af64ce3fbfb8fdb6e52d2452693b71f38e1cbedca80c22e2c7a59c7145e6
src/node_util.cchttps://github.com/nodejs/node/pull/25993/files#diff-82d611c6585d821efdd177164db119132dee7fdb7fa49a17cd646e7516133612
View file https://github.com/addaleax/node/blob/30449e8409b3d02f9a72412216de9c9346193e1a/src/node_util.cc
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/25993/{{ revealButtonHref }}
https://github.com/nodejs/node/pull/25993/files#diff-82d611c6585d821efdd177164db119132dee7fdb7fa49a17cd646e7516133612
https://github.com/nodejs/node/pull/25993/files#diff-82d611c6585d821efdd177164db119132dee7fdb7fa49a17cd646e7516133612
https://github.com/nodejs/node/pull/25993/files#diff-82d611c6585d821efdd177164db119132dee7fdb7fa49a17cd646e7516133612
bnoordhuishttps://github.com/bnoordhuis
Feb 8, 2019https://github.com/nodejs/node/pull/25993/files#r255111697
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/25993/files
addaleaxhttps://github.com/addaleax
Feb 12, 2019https://github.com/nodejs/node/pull/25993/files#r255751665
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/nodejs/node/pull/25993/files
https://github.com/nodejs/node/pull/25993/files#diff-82d611c6585d821efdd177164db119132dee7fdb7fa49a17cd646e7516133612
https://github.com/nodejs/node/pull/25993/files#diff-82d611c6585d821efdd177164db119132dee7fdb7fa49a17cd646e7516133612
https://github.com/nodejs/node/pull/25993/files#diff-82d611c6585d821efdd177164db119132dee7fdb7fa49a17cd646e7516133612
test/parallel/test-domain-async-id-map-leak.jshttps://github.com/nodejs/node/pull/25993/files#diff-d6326f342a510decfac95968f734318975d473683d16c353baa787ca9eef6771
View file https://github.com/addaleax/node/blob/30449e8409b3d02f9a72412216de9c9346193e1a/test/parallel/test-domain-async-id-map-leak.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/25993/{{ revealButtonHref }}
test/parallel/test-internal-util-weakreference.jshttps://github.com/nodejs/node/pull/25993/files#diff-a64ad8176b3c3438d1b7825424ed7e85b0a19e71125dd3dd550e628acf515aac
View file https://github.com/addaleax/node/blob/30449e8409b3d02f9a72412216de9c9346193e1a/test/parallel/test-internal-util-weakreference.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/nodejs/node/pull/25993/{{ revealButtonHref }}
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.