Uh oh!
There was an error while loading. Please reload this page.
src: re-delete Atomics.wake - #29586
Conversation
ljharb
commented
Sep 16, 2019
node v12.5 - v12.10 all mistakenly have this method; i hope this is considered a patch, though, and not a major :-/ |
jasnell
left a comment
There was a problem hiding this comment.
I think we can consider this a patch / bug fix
cb69c64 to
0c73abdComparenodejs-github-bot
commented
Sep 16, 2019
addaleax
left a comment
There was a problem hiding this comment.
LGTM if @joyeecheung is good with this, although I’m surprised that snapshots don’t also include the state of builtins…
@addaleax any flagged features will not be included in snapshots, even if they're enabled by default, because they could be disabled at runtime by using In this case |
There was a problem hiding this comment.
It looks more reasonable to do this later than InitializeContext() here since logically InitializeContext is supposed to give you a context that looks like the one created with Context::FromSnapshot
0c73abd to
12c21fcComparenodejs-github-bot
commented
Sep 17, 2019
Fishrock123
commented
Sep 17, 2019
Needs a rebase. |
12c21fc to
32a1656ComparePR-URL: nodejs#29586 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com>
32a1656 to
1ec4154Comparedevsnek
commented
Sep 18, 2019
landed in 1ec4154 |
PR-URL: #29586 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com>
PR-URL: #29586 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com>
Deletion logic was running at snapshot time, and snapshots don't have
global.Atomics, so this just stopped deletingAtomics.wake. This is fixed by creating a new C++ helper that is called after bothContext::NewandContext::FromSnapshot.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes