Skip to content

stream: bugfix for test-child-process-stdio-big-write-end.js

Rodrigo Muino Tomonari requested to merge github/fork/jjykh/master into master
Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
Description of change

In this testcase, if the parent and child process entering balanced state (both processes never sleep), the event loop of Node.js will never be scheduled. Eventually, thousands of callbacks (_stream_writable.js: afterWrite) on event queue cause memory leak.

Merge request reports

Loading