worker: set up child Isolate inside Worker thread#26011
worker: set up child Isolate inside Worker thread#26011addaleax wants to merge 7 commits intonodejs:masterfrom
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 <benjamingr@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Refs: nodejs#24016 PR-URL: nodejs#26011 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Fixes: nodejs#24016 PR-URL: nodejs#26011 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Allocate a thread id before actually creating the Environment instance. PR-URL: #26011 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
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+--profregression testFixes: #24016
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes