src: don't run bootstrapper in CreateEnvironment#31910
Closed
codebytere wants to merge 1 commit intonodejs:masterfrom
Closed
src: don't run bootstrapper in CreateEnvironment#31910codebytere wants to merge 1 commit intonodejs:masterfrom
codebytere wants to merge 1 commit intonodejs:masterfrom
Conversation
Member
|
where is the |
Member
Author
|
Lines 404 to 448 in 84b8857 See that all those js files call |
Member
|
related: #31909 |
joyeecheung
reviewed
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 |
Collaborator
Collaborator
20a67b2 to
26a8571
Compare
Collaborator
joyeecheung
approved these changes
Feb 26, 2020
26a8571 to
57fe1c6
Compare
Collaborator
codebytere
added a commit
that referenced
this pull request
Feb 27, 2020
PR-URL: #31910 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Member
Author
|
Landed in 65e18a8 |
Member
|
🎉 Thanks for landing this! |
codebytere
added a commit
that referenced
this pull request
Feb 29, 2020
PR-URL: #31910 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
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 <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
codebytere
added a commit
that referenced
this pull request
Mar 17, 2020
PR-URL: #31910 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Merged
addaleax
added a commit
that referenced
this pull request
Mar 21, 2020
Refs: #31910 PR-URL: #30467 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
codebytere
added a commit
that referenced
this pull request
Mar 30, 2020
PR-URL: #31910 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
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 <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
addaleax
added a commit
that referenced
this pull request
Sep 23, 2020
Refs: #31910 Backport-PR-URL: #35241 PR-URL: #30467 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
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 free
to 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