-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src: set arraybuffer_untransferable_private_symbol #31053
Conversation
744d23b
to
354126c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but could you revert the variable name change in src/node_buffer.cc
. The diff isn't big, but the name change is distracting.
for `ArrayBuffer` whose buffers are not own by `BackingStore`. This would help us avoid problem with the new V8 BackingStore API where new `ArrayBuffer` is allocated at the same place of previous `ArrayBuffer` that is still being tracked in `BackingStore` table. Ref: nodejs#31052
354126c
to
0d11d4c
Compare
fixed |
Thank you! LGTM. |
for `ArrayBuffer` whose buffers are not own by `BackingStore`. This would help us avoid problem with the new V8 BackingStore API where new `ArrayBuffer` is allocated at the same place of previous `ArrayBuffer` that is still being tracked in `BackingStore` table. PR-URL: #31053 Refs: #31052 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Landed in 90f7a5c 🎉 |
This does not land cleanly on v13.x. Please open a manual backport in case this should be backported or leave a comment to update the labels in case it should not be backported. |
/cc @addaleax should this PR be backported to v13.x? |
@thangktran I think it might be good to backport it, and the conflicts are likely going to be easy to resolve, but it’s definitely not critical. |
I'll prepare a PR for this. |
@thangktran We marked that one as semver-major, so I don’t think we can do that really … I’ll just mark this PR here as dont-land-on-v13.x and we should be fine :) |
for
ArrayBuffer
whose buffers are not own byBackingStore
. Thiswould help us avoid problem with the new V8 BackingStore API where new
ArrayBuffer
is allocated at the same place of previousArrayBuffer
that is still being tracked in
BackingStore
table.Ref: #31052
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes