diff options
author | Dmitri Melikyan <dmitri@melikyan.net> | 2015-05-14 12:39:16 +0200 |
---|---|---|
committer | Julien Gilli <julien.gilli@joyent.com> | 2015-06-10 10:32:03 -0700 |
commit | b81a643f9ae341b0c23cecc54daccdc8d7bc746a (patch) | |
tree | 3c3e66eb91fbad209033406dfe0ad160717eec7a /deps/npm/man/man1/npm-restart.1 | |
parent | 10349829f2f462e57cf7db2ef4c3a387d23e4826 (diff) | |
download | node-b81a643f9ae341b0c23cecc54daccdc8d7bc746a.tar.gz |
V8: avoid deadlock when profiling is active
A deadlock happens when sampler initiated by SIGPROF tries to lock
the thread and the thread is already locked by the same thread. As
a result, other thread involved in sampling process hangs. The
patch adds a check for thread lock before continuing sampler
operation.
The fix has been tested on a sample app under load with and without
profiling turned on.
Fixes issue #14576 and specifically the duplicate issue #25295
Reviewed-By: Julien Gilli <julien.gilli@joyent.com>
PR-URL: https://github.com/joyent/node/pull/25309
Diffstat (limited to 'deps/npm/man/man1/npm-restart.1')
0 files changed, 0 insertions, 0 deletions