Skip to content

worker: make MessagePort `uv_async_t` inline field

It’s not obvious why this was a heap allocation in the first place, but it’s unneccessary. Most other HandleWraps also store the libuv handle directly.

(This is going to have a minor merge conflict with https://github.com/nodejs/node/pull/26099 so I’d wait until after that one lands before merging this.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading