diff options
author | Gibson Fahnestock <gib@uk.ibm.com> | 2016-02-01 12:13:28 +0000 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2016-02-01 14:50:37 +0100 |
commit | d5d301f3032a0723f5a29cfbe0d95ac4ad205d42 (patch) | |
tree | ea651fb5e5ed4d6786ab3ac6601d1864ebfa9e61 /deps/npm/test | |
parent | 4644673f2d7706cc086a2a8ea0d7cbdae87f5d0a (diff) | |
download | node-new-d5d301f3032a0723f5a29cfbe0d95ac4ad205d42.tar.gz |
deps: backport 8d00c2c from v8 upstream
Original commit message:
```
Stop profiler on isolate teardown if still running
If the profiler is started via the API and not stopped, V8 will
intermittently crash during isolate teardown.
The fix is to run the DeleteAllProfiles function in Isolate::Deinit()
if cpu_profiler_ still exists.
https://groups.google.com/forum/#!topic/v8-dev/WsIlpbaD4mo
TEST= Run in debug mode, if you start a profile and don't stop it,
this assert should fail:
Fatal error in ../src/profiler/cpu-profiler.cc, line 414
Check failed: !is_profiling_.
Review URL: https://codereview.chromium.org/1526253005
Cr-Commit-Position: refs/heads/master@{#32953}
```
PR-URL: https://github.com/nodejs/node/pull/5024
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com>
Diffstat (limited to 'deps/npm/test')
0 files changed, 0 insertions, 0 deletions