Skip to content

vm: update measure memory rejection information - #41639

Merged
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
yashLadha:update_vm_measure_memory_doc
May 13, 2023
Merged

vm: update measure memory rejection information#41639
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
yashLadha:update_vm_measure_memory_doc

Conversation

@yashLadha

Copy link
Copy Markdown
Contributor

If in case current context is unable to allocate a promise then ERR_CONTEXT_NOT_INITIALIZED error will be thrown (as promise rejection) in the vm measureMemory call. Though minor change but this behavior should also be notified in the docs for the API call.

@nodejs-github-botnodejs-github-bot added doc Issues and PRs related to the documentations. vm Issues and PRs related to the vm subsystem. labels Jan 22, 2022
@yashLadha
yashLadhaforce-pushed the update_vm_measure_memory_doc branch from f5e04e8 to 8c9a9b7CompareJanuary 22, 2022 04:11
@yashLadhayashLadha changed the title doc(vm): update measure memory rejection informationvm: update measure memory rejection informationJan 22, 2022
@Trott

Copy link
Copy Markdown
Member

Can you change the subsystem in the commit message to doc:?

Comment threaddoc/api/vm.md Outdated

@benjamingrbenjamingr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (with suggestions)

Comment threaddoc/api/vm.md Outdated
@yashLadha
yashLadhaforce-pushed the update_vm_measure_memory_doc branch from 8c9a9b7 to 7aa8305CompareJanuary 22, 2022 09:09
If in case context is unable to allocate a promise then
`ERR_CONTEXT_NOT_INITIALIZED` error will be thrown (as promise
rejection) in the vm measureMemory call.
@yashLadha
yashLadhaforce-pushed the update_vm_measure_memory_doc branch from 7aa8305 to 18f3eddCompareJanuary 22, 2022 09:09
@yashLadha

Copy link
Copy Markdown
ContributorAuthor

Can you change the subsystem in the commit message to doc:?

Updated to use doc.

Comment threaddoc/api/vm.md Outdated
@debadree25

Copy link
Copy Markdown
Contributor

This could land i think? just one linter failure ping @yashLadha

@yashLadha

Copy link
Copy Markdown
ContributorAuthor

Sure, will update the PR

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
@debadree25debadree25 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels May 13, 2023
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 13, 2023
@nodejs-github-bot
nodejs-github-bot merged commit 8115c2f into nodejs:mainMay 13, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 8115c2f

@yashLadha
yashLadha deleted the update_vm_measure_memory_doc branch May 14, 2023 04:58
targos pushed a commit that referenced this pull request May 14, 2023
If in case context is unable to allocate a promise then
`ERR_CONTEXT_NOT_INITIALIZED` error will be thrown (as promise
rejection) in the vm measureMemory call.
PR-URL: #41639
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
targos pushed a commit that referenced this pull request May 15, 2023
If in case context is unable to allocate a promise then
`ERR_CONTEXT_NOT_INITIALIZED` error will be thrown (as promise
rejection) in the vm measureMemory call.
PR-URL: #41639
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
@targostargos mentioned this pull request May 15, 2023
danielleadams pushed a commit that referenced this pull request Jul 6, 2023
If in case context is unable to allocate a promise then
`ERR_CONTEXT_NOT_INITIALIZED` error will be thrown (as promise
rejection) in the vm measureMemory call.
PR-URL: #41639
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
MoLow pushed a commit to MoLow/node that referenced this pull request Jul 6, 2023
If in case context is unable to allocate a promise then
`ERR_CONTEXT_NOT_INITIALIZED` error will be thrown (as promise
rejection) in the vm measureMemory call.
PR-URL: nodejs#41639
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.commit-queue-squashAdd this label to instruct the Commit Queue to squash all the PR commits into the first one.docIssues and PRs related to the documentations.vmIssues and PRs related to the vm subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@yashLadha@Trott@debadree25@nodejs-github-bot@jasnell@benjamingr@aduh95