-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: extract AllocatedBuffer from env.h #33291
Conversation
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 I feel like it’s worth pointing out that AllocatedBuffer
s are tied to an Environment
instance, and that with V8 8.3, the need for this is probably going to go away anyway.
77ff8ef
to
2fc6b65
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
5a0bd99
to
9fa9f61
Compare
This comment has been minimized.
This comment has been minimized.
9fa9f61
to
72b6542
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Couldn't we just combine the two set of changes? |
CI: https://ci.nodejs.org/job/node-test-pull-request/31336/ (btw, repeated ci's here are because there's a build error happening in a couple of CI environments that I'm not able to recreate locally) |
I mean, yeah, if you prefer. But ultimately the goal is for |
Yep, that I know. It's partly why I wanted to separate it out from env.h in the first place. |
9388529
to
c971497
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.
Still LGTM 👍
Ping @jasnell |
07f8173
to
e368fc4
Compare
Cleanup up env.h by removing things that are not specific to `Environment`.
Alternative to nodejs#33381 that reimplements that change on top of moving AllocatedBuffer out of env.h
e368fc4
to
3c49e03
Compare
Cleanup up env.h by removing things that are not specific to `Environment`. PR-URL: #33291 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: David Carlier <[email protected]>
Alternative to #33381 that reimplements that change on top of moving AllocatedBuffer out of env.h PR-URL: #33291 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: David Carlier <[email protected]>
PR-URL: #33291 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: David Carlier <[email protected]>
Landed in 56ff1ee, e2cd715, 830ef81 |
Cleanup up env.h by removing things that are not specific to `Environment`. PR-URL: #33291 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: David Carlier <[email protected]>
Alternative to #33381 that reimplements that change on top of moving AllocatedBuffer out of env.h PR-URL: #33291 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: David Carlier <[email protected]>
PR-URL: #33291 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: David Carlier <[email protected]>
Cleanup up env.h by removing things that are not specific to `Environment`. PR-URL: #33291 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: David Carlier <[email protected]>
Alternative to #33381 that reimplements that change on top of moving AllocatedBuffer out of env.h PR-URL: #33291 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: David Carlier <[email protected]>
PR-URL: #33291 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: David Carlier <[email protected]>
@jasnell should this go to v12.x? It looks like it'll need a manual backport if yes but if no just remove the label :) |
Cleanup up env.h by removing things that are not
specific to
Environment
.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes