| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER was missing from the docs - add it there based on the wording Anna used in the her PR. PR-URL: Reviewed-By:
|
@benjamingr build started: https://ci.nodejs.org/blue/organizations/jenkins/node-test-pull-request-lite-pipeline/detail/node-test-pull-request-lite-pipeline/340/pipeline |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for doing the PR here!
Sorry, something went wrong.
|
|
||
| A SharedArrayBuffer object was transfered but we do not see a lifetime partner | ||
| object and it was not us who externalized it - we are not sure how to serialize | ||
| it because it's unclear how the memory is actually owned. |
There was a problem hiding this comment.
This description makes sense as a code comment, but it might not be ideal for the docs. How about this?
A SharedArrayBuffer object was encountered during serialization whose memory is not managed by the JavaScript engine or by Node. Such an SharedArrayBuffer can not be serialized.
This can only happen when native addons create SharedArrayBuffers in “externalized” mode, or put existing SharedArrayBuffer into externalized mode.
Sorry, something went wrong.
There was a problem hiding this comment.
Sure, sounds good.
Sorry, something went wrong.
|
@benjamingr Thanks! In fact, this was noticed by a testcase from #21470 😉. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you!
Sorry, something went wrong.
| <a id="ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER"></a> | ||
| ### ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER | ||
|
|
||
| A `SharedArrayBuffer` whose memory is not managed by the JavaScript engine or by Node.js was |
There was a problem hiding this comment.
Line length here and below)
Sorry, something went wrong.
| ### ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER | ||
|
|
||
| A `SharedArrayBuffer` whose memory is not managed by the JavaScript engine or by Node.js was | ||
| encountered during serialization. Such a `SharedArrayBuffer` can not be serialized. |
There was a problem hiding this comment.
can not -> cannot?
Sorry, something went wrong.
|
Node.js Collaborators, please, add 👍 here if you approve fast-tracking. |
Sorry, something went wrong.
|
New Lite CI after fixes: https://ci.nodejs.org/blue/organizations/jenkins/node-test-pull-request-lite-pipeline/detail/node-test-pull-request-lite-pipeline/341/pipeline |
Sorry, something went wrong.
ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER was missing from the docs - add it there based on the wording Anna used in the her PR. PR-URL: #21947 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER was missing from the docs - add it there based on the wording Anna used in the her PR. PR-URL: #21947 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
| Back | FazBrowse Home | New Git URL |
@ChALkeR noticed that ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER was missing from the docs. This PR adds it there based on the wording @addaleax used in the her PR.
Checklist