FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

async_hooks: avoid unneeded AsyncResource creation by Flarna · Pull Request #34616 · nodejs/node · GitHub

/ node Public

async_hooks: avoid unneeded AsyncResource creation - #34616

Closed
Flarna wants to merge 1 commit into
nodejs:masterfrom
dynatrace-oss-contrib:async-local-no-unneeded-resource
Closed

async_hooks: avoid unneeded AsyncResource creation#34616
Flarna wants to merge 1 commit into
nodejs:masterfrom
dynatrace-oss-contrib:async-local-no-unneeded-resource

Conversation

Flarna commented Aug 3, 2020

Copy link
Copy Markdown
Member

Inspired by the callstack at #34556 (comment)

If the wanted store is equal to the active store it's not needed to create an AsyncResource.

Refs: #34556 (comment)

fyi @vdeturckheim @puzpuzpuz @Qard

Copy link
Copy Markdown
Collaborator

nodejs-github-bot added the async_hooks Issues and PRs related to the async hooks subsystem. label Aug 3, 2020

Copy link
Copy Markdown
Member

@Flarna there is a conflict in lib/async_hooks.js. Could you resolve it?

Inspired by the callstack at nodejs#34556 (comment)

If the wanted store is equal to the active store it's not needed to
create an AsyncResource.

Refs: nodejs#34556 (comment)
Flarna force-pushed the async-local-no-unneeded-resource branch from 048632c to 5eb30aa Compare August 4, 2020 08:08

This comment has been minimized.

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/32623/

Flarna added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Aug 4, 2020
Flarna changed the title [async_hooks] avoid unneeded AsyncResource creation async_hooks: avoid unneeded AsyncResource creation Aug 4, 2020
Flarna added a commit that referenced this pull request Aug 6, 2020
Inspired by the callstack at #34556 (comment)

If the wanted store is equal to the active store it's not needed to
create an AsyncResource.

Refs: #34556 (comment)

PR-URL: #34616
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>

Flarna commented Aug 6, 2020

Copy link
Copy Markdown
Member Author

Landed in 4824988

Flarna closed this Aug 6, 2020
Flarna deleted the async-local-no-unneeded-resource branch August 6, 2020 21:28
addaleax pushed a commit that referenced this pull request Aug 8, 2020
Inspired by the callstack at #34556 (comment)

If the wanted store is equal to the active store it's not needed to
create an AsyncResource.

Refs: #34556 (comment)

PR-URL: #34616
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
codebytere mentioned this pull request Aug 10, 2020
codebytere pushed a commit that referenced this pull request Aug 11, 2020
Inspired by the callstack at #34556 (comment)

If the wanted store is equal to the active store it's not needed to
create an AsyncResource.

Refs: #34556 (comment)

PR-URL: #34616
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
addaleax pushed a commit that referenced this pull request Sep 22, 2020
Inspired by the callstack at #34556 (comment)

If the wanted store is equal to the active store it's not needed to
create an AsyncResource.

Refs: #34556 (comment)

PR-URL: #34616
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
codebytere mentioned this pull request Sep 28, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

async_hooks Issues and PRs related to the async hooks subsystem. author ready PRs that have at least one approval, no outstanding review comments, and a CI started.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL