GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — doc: modified docs to reflect how to invoke gc on Wrapping C++ objects by isurusiri · Pull Request #20431 · nodejs/node Conversation
Contributor
Currently the documentation for Wrapping C++ Objects doesn't explain Fixes: #19876 Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsCurrently the documentation for Wrapping C++ Objects doesn't explain how to destruct an object by explicitly invoking the garbage collector. This commit includes a modification to docs that explains how to force the garbage collector to clear objects using V8's command line flags. Fixes: #19876 Currently the documentation for Wrapping C++ Objects doesn't explain how to destruct an object by explicitly invoking the garbage collector. This commit includes a modification to docs that explains how to force the garbage collector to clear objects using V8's command line flags. Fixes: #19876
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Trott
reviewed
|
|
@bnoordhuis @hashseed PTAL |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@hashseed I think for Regarding this PR, I like the idea but it’s probably not very meaningful to say “There are undocumented flags that do exactly what you need right now, please don’t look them up because that’s a bad thing”. I’d be okay with officially recommending |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ping... what's the status on this one? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
It might be good to hear what @hashseed thinks of the above – again, I’m really not saying I’m a fan of us effectively making a V8 flag public API, but we have to face the fact that it effectively is. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| The destructor for a wrapper object will run when the object is | ||
| garbage-collected. For destructor testing, there are command-line flags that | ||
| can be used to make it possible to force garbage collection. These flags are | ||
| provided by the underlying V8 JavaScript engine. They are subjected to change |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Nit: subjected -> subject
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I'm happy with the current wording. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Lite CI: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/902/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
CI again: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/910/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ci again again: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/919/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hmmm, the same unrelated TLS test failing three times. Let's try a fresh run rather than a Replay and see if that clears up some git stuff leftover from another run or something weird like that which might be causing it. Yeah, I'm making it up. Let's try it anyway: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/920/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
That time, it was a hard build failure. I've pinged build folks to take a look and hopefully it will be fixed soon and we can try again. Sorry about the delay. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Looks like I kicked off the job incorrectly. Let's try again: https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/926/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Giving up on lite CI, going for full CI: https://ci.nodejs.org/job/node-test-pull-request/17299/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Windows rebuild: https://ci.nodejs.org/job/node-test-commit-windows-fanned/20844/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Currently the documentation for Wrapping C++ Objects doesn't explain how to destruct an object by explicitly invoking the garbage collector. This commit includes a modification to docs that explains how to force the garbage collector to clear objects using V8's command line flags. Fixes: nodejs#19876 PR-URL: nodejs#20431 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yang Guo <[email protected]>
|
Finally... Landed in a1381fa |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Currently the documentation for Wrapping C++ Objects doesn't explain how to destruct an object by explicitly invoking the garbage collector. This commit includes a modification to docs that explains how to force the garbage collector to clear objects using V8's command line flags. Fixes: #19876 PR-URL: #20431 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yang Guo <[email protected]>
Currently the documentation for Wrapping C++ Objects doesn't explain how to destruct an object by explicitly invoking the garbage collector. This commit includes a modification to docs that explains how to force the garbage collector to clear objects using V8's command line flags. Fixes: #19876 PR-URL: #20431 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yang Guo <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.