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

Issue 1885723002: disallow left-trim fast path when sampling heap profiler is active (Closed)

Created:
4 years, 8 months ago by ofrobots
Modified:
4 years, 8 months ago
CC:
Hannes Payer (out of office), ulan, 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

disallow left-trim fast path when sampling heap profiler is active Left trimming assumes that nobody other than the JSArray has a reference to the backing store. Sampling heap profiler may profile the backing store and keep a reference too it. This reference was never updated on a left-trim, causing a crash. R=alph@chromium.org, hpayer@chromium.org, mattloring@google.com BUG= Committed: https://crrev.com/2837cb387b4cd3ef42bfd4da6712137fd3837db6 Cr-Commit-Position: refs/heads/master@{#35449}

Patch Set 1 #

Total comments: 1

Patch Set 2 : explicitly trigger a scavenge in the test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
M src/heap/heap.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/profiler/heap-profiler.h View 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-heap-profiler.cc View 1 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Hannes Payer (out of office)
LGTM, one nit https://codereview.chromium.org/1885723002/diff/1/test/cctest/test-heap-profiler.cc File test/cctest/test-heap-profiler.cc (right): https://codereview.chromium.org/1885723002/diff/1/test/cctest/test-heap-profiler.cc#newcode3062 test/cctest/test-heap-profiler.cc:3062: // Should not crash. Don't you ...
4 years, 8 months ago (2016-04-13 13:32:30 UTC) #1
ofrobots
On 2016/04/13 13:32:30, Hannes Payer wrote: > LGTM, one nit > > https://codereview.chromium.org/1885723002/diff/1/test/cctest/test-heap-profiler.cc > File ...
4 years, 8 months ago (2016-04-13 14:34:29 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885723002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885723002/20001
4 years, 8 months ago (2016-04-13 14:37:38 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-13 15:11:11 UTC) #6
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 15:11:34 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2837cb387b4cd3ef42bfd4da6712137fd3837db6
Cr-Commit-Position: refs/heads/master@{#35449}

Powered by Google App Engine
This is Rietveld 408576698