Rich Trott
801115d7a4
test: increase _debugger coverage
...
The uncaught exception test for `_debugger.js` was not exercising some
code (particularly concerning `interface_.child`) because of the
synchronous nature of the test. This adds an asynchronous version to
increase test coverage.
PR-URL: https://github.com/nodejs/node/pull/8403
Reviewed-By: Fedor Indutny <fedor@indutny.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-09-06 22:47:15 -07:00
Rich Trott
30dbc9d961
doc: update BUILDING.md
...
* General copy-editing
* Move `[sudo] make install` step from general Unix build to own step
* Remove `make test-addons` as that is now covered by `make test`
* Standardize on `/path/to/foo` as used elsewhere in the doc
* Change `node -e` to `./node -e` to avoid using different node binary
PR-URL: https://github.com/nodejs/node/pull/8398
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-09-06 14:59:01 -07:00
Josh Gavant
a945244830
doc: add 2016-08-10 CTC meeting minutes
...
PR-URL: https://github.com/nodejs/node/pull/8229
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2016-09-06 11:01:34 -07:00
Michael Dawson
1ffdee7c86
test: mark pseudo-tty/no_dropped_stdio as flaky
...
We've determined there is a test issue related to python as
opposed to node, mark as flaky until we can resolve
PR-URL: https://github.com/nodejs/node/pull/8385
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-09-06 10:09:43 -04:00
Rich Trott
ed640ae4cb
crypto: make malloc failure check cross-platform
...
`malloc(0)` may return NULL on some platforms. Do not report
out-of-memory error unless `malloc` was passed a number greater than
`0`.
PR-URL: https://github.com/nodejs/node/pull/8352
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Fedor Indutny <fedor@indutny.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2016-09-06 09:39:35 -04:00
Michael Dawson
a00ccb0fb9
src: normalize malloc, realloc
...
malloc(0) and realloc(ptr, 0) have implementation-defined behavior in
that the standard allows them to either return a unique pointer or a
nullptr for zero-sized allocation requests. Normalize by always using
a nullptr.
- Introduce node::malloc, node::realloc and node::calloc that should
be used throught our source.
- Update all existing node source files to use the new functions
instead of the native allocation functions.
Fixes: https://github.com/nodejs/node/issues/7549
PR-URL: https://github.com/nodejs/node/pull/7564
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-09-06 09:39:06 -04:00
Ben Noordhuis
a290ddfdc9
src: unbreak build when compiling against uclibc
...
It seems that it is possible with some toolchains for both `__GLIBC__`
and `__UCLIBC__` to be defined, confusing our "do we have execinfo.h?"
logic.
Assume that when `__UCLIBC__` is defined, we are dealing with a libc
that does not have execinfo.h.
Fixes: https://github.com/nodejs/node/issues/8233
PR-URL: https://github.com/nodejs/node/pull/8308
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-09-05 10:21:34 +02:00
Daniel Bevenius
a01e8bcf18
src: moving f function call comment
...
The comment about calling the f function seems to have drifted
a little. Moving it to be closer to the actual call.
PR-URL: https://github.com/nodejs/node/pull/8405
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2016-09-05 08:07:28 +02:00
Rich Trott
e4ac083bad
doc: update CI content in onboarding doc
...
* add node-test-pull-request link
* minor formatting improvements
PR-URL: https://github.com/nodejs/node/pull/8374
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com >
2016-09-04 20:39:04 -07:00
James M Snell
dfe1c7e9b8
doc: update authors list
...
It's that time again! Another round of author list updates.
PR-URL: https://github.com/nodejs/node/pull/8346
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
2016-09-04 10:04:12 -07:00
atstojanov
a6f7b13d02
crypto: fix getDecoder() encoding check
...
Normalize the encoding in getDecoder() before using it. Fixes an
AssertionError: "Cannot change encoding" when encoding is "ucs2",
"ucs-2" or "utf-16le"
Fixes: https://github.com/nodejs/node/issues/8236
PR-URL: https://github.com/nodejs/node/pull/8301
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-09-04 18:39:43 +02:00
Anna Henningsen
983775d457
events: make memory leak warning name more verbose
...
Switch from a generic `Warning` to the more specific
`MaxListenersExceededWarning`.
Ref: https://github.com/nodejs/node/pull/8298
PR-URL: https://github.com/nodejs/node/pull/8341
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-09-04 17:11:59 +02:00
Mike Ralphson
7e8d994e33
doc: add return type of clientRequest.setTimeout
...
Refs: https://github.com/nodejs/node/pull/1699
PR-URL: https://github.com/nodejs/node/pull/8356
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-09-03 09:25:06 +02:00
Alexis374
5930d59b0f
doc: fix a wrong link,add '.md' to the link
...
fix a wrong link to ../topics/the-event-loop-timers-and-nexttick.md
PR-URL: https://github.com/nodejs/node/pull/8315
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-09-02 23:53:07 +02:00
Mike Ralphson
3905f48882
doc: fix typos
...
PR-URL: https://github.com/nodejs/node/pull/8370
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2016-09-02 23:49:54 +02:00
Eugene Ostroukhov
609a265aeb
inspector: use script name for target title
...
Changes inspector integration to use Node.js script file name as target
title (reported in JSON and shown in developer tools UIs). It will also
report file:// URL for the script as some tools seem to use that field
to open the script in the editor.
PR-URL: https://github.com/nodejs/node/pull/8243
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl >
2016-09-02 13:47:10 -07:00
Rich Trott
9826a79f54
test: test non-buffer/string with zlib
...
Check the error condition testing for passing something other than a
string or buffer. Currently, there are no tests for this.
PR-URL: https://github.com/nodejs/node/pull/8350
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed By: James M Snell <jasnell@gmail.com >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
2016-09-02 13:39:31 -07:00
James M Snell
7b73f55902
internal/util: remove printDeprecationWarning
...
Removes the internal/util printDeprecationWarning method
PR-URL: https://github.com/nodejs/node/pull/8166
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2016-09-02 13:15:56 -07:00
James M Snell
b50557b51b
fs: use process.emitWarning to print deprecation warning
...
Use process.emitWarning() instead of the internal printDeprecationMessage
in order to avoid use of an internal only API.
PR-URL: https://github.com/nodejs/node/pull/8166
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2016-09-02 13:15:27 -07:00
James M Snell
15eaba98a1
lib: use emitWarning instead of printDeprecationMessage
...
The process.emitWarning() API should be used for printing
deprecation warning messages rather than directly using the
internal/util#printDeprecationMessage
PR-URL: https://github.com/nodejs/node/pull/8166
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2016-09-02 13:15:22 -07:00
James M Snell
bf91035364
process: fix handling of process.noDeprecation in emitWarning
...
PR-URL: https://github.com/nodejs/node/pull/8166
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2016-09-02 13:15:17 -07:00
Santiago Gimeno
2d2a2d7c78
test: fix test-cluster-dgram-1 flakiness
...
Check for the number of messages received in the `exit` event listener
instead of the `disconnect` listener.
Fixes: https://github.com/nodejs/node/issues/8380
PR-URL: https://github.com/nodejs/node/pull/8383
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed By: James M Snell <jasnell@gmail.com >
2016-09-02 14:54:47 -04:00
Brian White
8361c26cd5
doc: fix broken link in dgram doc
...
PR-URL: https://github.com/nodejs/node/pull/8365
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2016-09-02 14:29:30 -04:00
James M Snell
ced2bc37c4
doc: update targos email in readme per request
...
PR-URL: https://github.com/nodejs/node/pull/8389
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-09-02 11:15:35 -07:00
James M Snell
dc7277909b
fs: move SyncWriteStream to internal/fs
...
Move the implementation of SyncWriteStream to internal/fs.
PR-URL: https://github.com/nodejs/node/pull/6749
Reviewed-By: Ron Korving <ron@ronkorving.nl >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
2016-09-02 10:22:00 -07:00
Anna Henningsen
2c9a86f01e
buffer: directly use ArrayBuffer as the pool
...
Make the buffer pool an `ArrayBuffer` which is used directly,
speeding up allocation noticeably in some cases.
The only drawback happens when creating pool-based `Buffer`
instances from strings whose byte lengths got overestimated
by `Buffer.byteLength`, e.g. for base64-encoded strings
containing whitespace, where two `Buffer` instances are
being created.
This may also be useful when providing Buffer classes in
the future.
Benchmark results for `benchmark/buffers/buffer-creation.js`:
```
improvement significant p.value
len=1024 type="buffer()" 47.11 % *** 5.202555e-12
len=1024 type="fast-alloc" -3.41 % 3.823226e-01
len=1024 type="fast-alloc-fill" 1.11 % 7.985624e-01
len=1024 type="fast-allocUnsafe" 24.37 % *** 4.264084e-05
len=1024 type="slow" 4.81 % 2.634609e-01
len=1024 type="slow-allocUnsafe" 1.28 % 7.864850e-01
len=10 type="buffer()" 59.42 % *** 9.953552e-13
len=10 type="fast-alloc" -6.43 % 1.450524e-01
len=10 type="fast-alloc-fill" -2.96 % 4.873766e-01
len=10 type="fast-allocUnsafe" 33.89 % *** 6.517268e-07
len=10 type="slow" -1.48 % 7.357711e-01
len=10 type="slow-allocUnsafe" 0.04 % 9.939576e-01
len=2048 type="buffer()" 36.34 % *** 3.201045e-10
len=2048 type="fast-alloc" -4.67 % 2.172900e-01
len=2048 type="fast-alloc-fill" -0.15 % 9.732945e-01
len=2048 type="fast-allocUnsafe" 20.13 % *** 2.372115e-04
len=2048 type="slow" 4.35 % 2.831340e-01
len=2048 type="slow-allocUnsafe" 1.13 % 8.055388e-01
len=4096 type="buffer()" 4.90 % 2.495340e-01
len=4096 type="fast-alloc" -2.11 % 5.417520e-01
len=4096 type="fast-alloc-fill" -0.29 % 9.460378e-01
len=4096 type="fast-allocUnsafe" 3.11 % 5.001959e-01
len=4096 type="slow" 0.95 % 8.145888e-01
len=4096 type="slow-allocUnsafe" 3.74 % 4.227627e-01
len=8192 type="buffer()" 5.08 % 2.263029e-01
len=8192 type="fast-alloc" -1.16 % 7.300235e-01
len=8192 type="fast-alloc-fill" 0.40 % 9.179919e-01
len=8192 type="fast-allocUnsafe" 5.16 % 2.591544e-01
len=8192 type="slow" 2.57 % 5.212449e-01
len=8192 type="slow-allocUnsafe" -3.19 % 4.699138e-01
```
PR-URL: https://github.com/nodejs/node/pull/8302
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-09-02 12:38:12 +02:00
Gibson Fahnestock
3504a98b72
test: fix ::1 error in test-dns-ipv6
...
If ::1 can't be resolved, the test should still pass.
PR-URL: https://github.com/nodejs/node/pull/8254
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2016-09-01 14:56:41 -07:00
Rich Trott
2501a38b79
doc: update landing pr info in onboarding doc
...
Reword and re-organize. Only significant content change is to
specifically call out the two-CTC-member-LGTM requirement for
semver-major changes.
PR-URL: https://github.com/nodejs/node/pull/8344
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-09-01 14:23:37 -07:00
Santiago Gimeno
a133b775e3
test: fix fs-watch-recursive flakiness on OS X
...
The test is sometimes timing out because of a race condition between
the fs event generated on file creation and the event being registered
in the kqueue. To avoid this problem, create the file after 100 ms,
that is the value used in the `fs_event_watch_dir_recursive` libuv test.
PR-URL: https://github.com/nodejs/node/pull/4629
Reviewed-By: Rich Trott <rtrott@gmail.com >
2016-09-01 19:27:50 +02:00
Dan Fabulich
143d38c650
doc: bad/better examples for fs.access() and fs.exists()
...
PR-URL: https://github.com/nodejs/node/pull/7832
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-09-01 08:22:00 -07:00
James M Snell
baa0ffdab3
test: refactor/cleanup a number of cluster tests
...
* Move shared code into common
* Favor use of strictEqual
* Add some missing common.mustCalls
* Other general cleanup
PR-URL: https://github.com/nodejs/node/pull/8261
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
2016-09-01 07:13:47 -07:00
Johan Bergström
2168432c36
build: don't require processing docs for nightlies
...
Opt-out `nightly` and `next-nightly` from the documentation
requirement since these docs aren't meant to be published.
This fixes our nightly jobs in CI.
PR-URL: https://github.com/nodejs/node/pull/8325
Fixes: https://github.com/nodejs/build/issues/478
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-09-01 08:58:54 -03:00
Hubert Mine
f7dd3bc19f
doc: fix typo in stream doc
...
PR-URL: https://github.com/nodejs/node/pull/8326
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2016-09-01 07:22:03 +02:00
Ali Ijaz Sheikh
870faeef95
deps: workaround clang-3.4 ICE
...
PR-URL: https://github.com/nodejs/node/pull/8343
Fixes: https://github.com/nodejs/node/issues/8323
Reviewed-By: rvagg - Rod Vagg <rod@vagg.org >
2016-08-31 15:14:45 -07:00
Rich Trott
266270e618
test: refactor parallel/test-process-env.js
...
* Remove disabling of lint rule
* == -> ===
* var -> const
PR-URL: https://github.com/nodejs/node/pull/8324
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com >
Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com >
2016-08-31 12:31:35 -07:00
Daniel Bevenius
56414b54d9
doc: adding danbev to collaborators
...
PR-URL: https://github.com/nodejs/node/pull/8359
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Jeremiah Senkpiel <Fishrock123@rocketmail.com >
2016-08-31 18:38:56 +02:00
Ali Ijaz Sheikh
becbcc7981
src: avoid duplicate AtExit functions
...
node.cc had two functions with the name AtExit with entirely different
purposes:
* node::AtExit(): file static; used to register the atexit(3) handler
for the Node process.
* node::AtExit(void (*)(void*), void*): publicly exported symbol that
addons can use to request callbacks upon exit.
For code readability it is better to avoid the unintentional overload.
PR-URL: https://github.com/nodejs/node/pull/8273
Reviewed-By: addaleax - Anna Henningsen <anna@addaleax.net >
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com >
Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl >
2016-08-31 09:27:51 -07:00
Eugene Ostroukhov
27fd2d7e61
inspector: make sure all messages are dispatched
...
This fixes a race condition when messages are coming while V8 is still
dispatching the previous batch.
PR-URL: https://github.com/nodejs/node/pull/8264
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl >
2016-08-31 09:19:24 -07:00
Eugene Ostroukhov
b6db963915
inspector: simplify buffer management
...
This change simplifies buffer management to address a number of issues
that original implementation had.
Original implementation was trying to reduce the number of allocations
by providing regions of the internal buffer to libuv IO code. This
introduced some potential use after free issues if the buffer grows
(or shrinks) while there's a pending read. It also had some confusing
math that resulted in issues on Windows version of the libuv.
PR-URL: https://github.com/nodejs/node/pull/8257
Fixes: https://github.com/nodejs/node/issues/8155
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl >
2016-08-31 09:01:46 -07:00
Bartosz Sosnowski
b1bbc68fb1
benchmark: support for multiple http benchmarkers
...
This adds support for multiple HTTP benchmarkers. Adds autocannon
as the secondary benchmarker.
PR-URL: https://github.com/nodejs/node/pull/8140
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2016-08-31 17:49:26 +02:00
Rich Trott
f6e33ef8bc
test: add test for zlib.create*Raw()
...
Currently, there are no tests that exercise `zlib.createInflateRaw()` or
`zlib.createDeflateRaw()`.
This adds minimal tests that invoke the functions and confirm that they
return `zlib.InflateRaw`/`zlib.DeflateRaw` objects.
PR-URL: https://github.com/nodejs/node/pull/8306
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-30 19:28:24 -07:00
Paul Grock
eca74a9d91
test: cleanup test require symlink
...
* Changed `==` to `includes` for clarity.
* Switched to `assert.strictEqual` from `assert.equal`
* Changed some `var` to `const`
* Test cleanup with `common.refreshTmpDir`
PR-URL: https://github.com/nodejs/node/pull/8305
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-30 13:42:36 -07:00
yorkie
a3c5567eb4
src,win: use correct exit code in old versions
...
If `IsWindows7OrGreater()` returns `false`, the Node.js program should
exit with a more specific code ERROR_EXE_MACHINE_TYPE_MISMATCH instead
the code 0x1(ERROR_INVALID_FUNCTION)
PR-URL: https://github.com/nodejs/node/pull/8204
Reviewed-By: João Reis <reis@janeasystems.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-08-31 04:22:43 +08:00
James M Snell
86067f0129
doc: clarify that path on windows accepts / and \
...
Fixes: https://github.com/nodejs/node/issues/6520
PR-URL: https://github.com/nodejs/node/pull/8291
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-08-30 12:29:47 -07:00
Rich Trott
5a7a6d9b01
tools: enable caching for jslint task
...
PR-URL: https://github.com/nodejs/node/pull/8296
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-08-30 10:42:25 -07:00
Rich Trott
201115812e
tools: update ESLint to 3.4.0
...
PR-URL: https://github.com/nodejs/node/pull/8296
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-08-30 10:40:45 -07:00
Anna Henningsen
932c824c60
events: make memory leak warning more accessible
...
This makes the famous `EventEmitter memory leak` warnings occurring
when the listener count for a given event exceeds a specified number
more programatically accessible, by giving them properties referring
to the event emitter instance and the event itself.
This can be useful for debugging the origins of such a warning when
the stack itself doesn’t reveal enough information about the event
emitter instance itself, e.g. when manual inspection of the
already-registered listeners is expected to be useful.
PR-URL: https://github.com/nodejs/node/pull/8298
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jeremiah Senkpiel <Fishrock123@rocketmail.com >
2016-08-30 17:02:51 +02:00
Eugene Ostroukhov
1b8accfdd6
inspector: use new inspector headers
...
PR-URL: https://github.com/nodejs/node/pull/8150
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl >
2016-08-30 06:37:39 -07:00
Eugene Ostroukhov
61faabd938
deps: v8_inspector update
...
Pick up latest from [1] corresponding to the Blink commit 60cd6e859b.
[1]: https://github.com/pavelfeldman/v8_inspector/commit/55f21a5611
PR-URL: https://github.com/nodejs/node/pull/8150
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl >
2016-08-30 06:37:23 -07:00
Luigi Pinca
1e0bfacc28
doc: add lpinca to collaborators
...
PR-URL: https://github.com/nodejs/node/pull/8331
Reviewed-By: Rich Trott <rtrott@gmail.com >
2016-08-30 08:10:21 +02:00