Uh oh!
There was an error while loading. Please reload this page.
src: don't run bootstrapper in CreateEnvironment - #31910
Closed
codebytere wants to merge 1 commit into
Closed
Conversation
gireeshpunathil
commented
Feb 22, 2020
Member
where is the |
MemberAuthor
Lines 404 to 448 in 84b8857 See that all those js files call |
himself65
commented
Feb 22, 2020
Member
related: #31909 |
Uh oh!
There was an error while loading. Please reload this page.
joyeecheung
commented
Feb 22, 2020
Member
By the way, I think a quick band-aid fix to this issue without introducing breaking changes would be to maintain something like |
nodejs-github-bot
commented
Feb 22, 2020
Collaborator
nodejs-github-bot
commented
Feb 24, 2020
Collaborator
codebytereforce-pushed
the
createenv-remove-some=bootstrap
branch
from
February 26, 2020 16:44
20a67b2 to
26a8571Comparenodejs-github-bot
commented
Feb 26, 2020
Collaborator
joyeecheung
approved these changes
Feb 26, 2020
Uh oh!
There was an error while loading. Please reload this page.
codebytereforce-pushed
the
createenv-remove-some=bootstrap
branch
from
February 27, 2020 05:58
26a8571 to
57fe1c6Comparenodejs-github-bot
commented
Feb 27, 2020
Collaborator
codebytere added a commit
that referenced
this pull request
Feb 27, 2020
PR-URL: #31910 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
codebytere
commented
Feb 27, 2020
MemberAuthor
Landed in 65e18a8 |
addaleax
commented
Feb 27, 2020
Member
🎉 Thanks for landing this! |
codebytere added a commit
that referenced
this pull request
Feb 29, 2020
PR-URL: #31910 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Merged
addaleax added a commit
to addaleax/node
that referenced
this pull request
Mar 12, 2020
codebytere added a commit
that referenced
this pull request
Mar 15, 2020
PR-URL: #31910 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
codebytere added a commit
that referenced
this pull request
Mar 17, 2020
PR-URL: #31910 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Merged
codebytere added a commit
that referenced
this pull request
Mar 30, 2020
PR-URL: #31910 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
codebytere added a commit
to electron/electron
that referenced
this pull request
Apr 13, 2020
addaleax added a commit
to addaleax/node
that referenced
this pull request
Sep 23, 2020
Refs: nodejs#31910 PR-URL: nodejs#30467 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs electron/electron#22342.
#26788 added a call to
prepareMainThreadExecutiontoCreateEnvironment, which would prepare the main thread for execution any time an embedder created a new environment. However, this caused an unfortunate doubling-up effect, and meant that Electron would see stuff like:Since both execution pathways (env and whatever the actual execution was) were being exercised. To fix this, I believe we should remove bootstrapping code from
CreateEnvironment.cc @joyeecheung@addaleax
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes