Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Issue 1526253005: Stop profiler on isolate teardown if still running (Closed)

Created:
5 years ago by gib
Modified:
5 years ago
Reviewers:
Yang, Michael Achenbach
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

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_. Committed: https://crrev.com/8d00c2ca40459d46f127c8156c5afb7bfa79d9e6 Cr-Commit-Position: refs/heads/master@{#32953}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M src/isolate.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
gib
5 years ago (2015-12-16 17:26:07 UTC) #3
Yang
On 2015/12/16 17:26:07, gib wrote: lgtm. thanks for the contribution!
5 years ago (2015-12-17 14:08:58 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1526253005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1526253005/1
5 years ago (2015-12-17 14:09:14 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-17 15:08:58 UTC) #8
commit-bot: I haz the power
5 years ago (2015-12-17 15:09:19 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8d00c2ca40459d46f127c8156c5afb7bfa79d9e6
Cr-Commit-Position: refs/heads/master@{#32953}

Powered by Google App Engine
This is Rietveld 408576698