-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
worker: set up child Isolate inside Worker thread #26011
Conversation
Allocate a thread id before actually creating the Environment instance.
@nodejs/workers Sorry the middle commit is such a big change, but if one of you could give this a look, that would be awesome. |
(also: the middle commit is the test 😅 ) |
@benjamingr That’s just github showing the commit out-of-order because it orders by author date rather than actual commit order :) |
@bnoordhuis Thanks, done! |
Regular CI: https://ci.nodejs.org/job/node-test-pull-request/20706/ |
5th attempt at getting a green ARM fanned CI: https://ci.nodejs.org/job/node-test-commit-arm-fanned/6377/ This is frustrating, especially since this is obviously infrastructure-related and the only difference to the last green CI is a comment. :/ |
@nodejs/build-infra Can somebody take a look at https://ci.nodejs.org/job/node-test-binary-arm/6092/RUN_SUBSET=2,label=pi1-docker/console? |
ARM fanned again: https://ci.nodejs.org/job/node-test-commit-arm-fanned/6396/ |
Landed in e11388b...902c71a |
Allocate a thread id before actually creating the Environment instance. PR-URL: nodejs#26011 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Refs: nodejs#24016 PR-URL: nodejs#26011 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Fixes: nodejs#24016 PR-URL: nodejs#26011 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Allocate a thread id before actually creating the Environment instance. PR-URL: #26011 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Refs: #24016 PR-URL: #26011 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Fixes: #24016 PR-URL: #26011 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
worker: pre-allocate thread id
Allocate a thread id before actually creating the Environment instance.
worker: set up child Isolate inside Worker thread
Refs: #24016
test: add
Worker
+--prof
regression testFixes: #24016
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes