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

Issue 2526243002: [GC] Fix code flushing to use bytecode if it exists. (Closed)

Created:
4 years ago by rmcilroy
Modified:
4 years ago
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[GC] Fix code flushing to use bytecode if it exists. If code is flushed on a SFI, we can still use the bytecode if it was compiled, since this never gets flushed. This fixes a DCHECK where we were trying to compile the bytecode multiple times after the baseline code was flushed. BUG=chromium:668133 Committed: https://crrev.com/49ea60ef9d4a0659a3ff3ade356aacc29d65d586 Cr-Commit-Position: refs/heads/master@{#41274}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add DCHECK to set_code #

Patch Set 3 : Fix cctests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -5 lines) Patch
M src/heap/mark-compact.cc View 4 chunks +16 lines, -4 lines 0 comments Download
M src/objects-inl.h View 1 chunk +4 lines, -0 lines 0 comments Download
test/cctest/heap/test-heap.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 32 (21 generated)
rmcilroy
Michi, this fixes the clusterfuzz bug I had. Could you please take a look, thanks.
4 years ago (2016-11-24 11:59:21 UTC) #2
Benedikt Meurer
Awesome, LGTM.
4 years ago (2016-11-24 12:08:04 UTC) #6
Michael Starzinger
https://codereview.chromium.org/2526243002/diff/1/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/2526243002/diff/1/src/heap/mark-compact.cc#newcode931 src/heap/mark-compact.cc:931: if (shared->HasBytecodeArray()) { I have the feeling we will ...
4 years ago (2016-11-24 12:14:45 UTC) #9
rmcilroy
On 2016/11/24 12:14:45, Michael Starzinger wrote: > https://codereview.chromium.org/2526243002/diff/1/src/heap/mark-compact.cc > File src/heap/mark-compact.cc (right): > > https://codereview.chromium.org/2526243002/diff/1/src/heap/mark-compact.cc#newcode931 ...
4 years ago (2016-11-24 12:55:45 UTC) #12
Michael Starzinger
On 2016/11/24 12:55:45, rmcilroy wrote: > On 2016/11/24 12:14:45, Michael Starzinger wrote: > > https://codereview.chromium.org/2526243002/diff/1/src/heap/mark-compact.cc ...
4 years ago (2016-11-24 13:40:01 UTC) #13
rmcilroy
On 2016/11/24 13:40:01, Michael Starzinger wrote: > On 2016/11/24 12:55:45, rmcilroy wrote: > > On ...
4 years ago (2016-11-24 14:24:34 UTC) #14
Michael Starzinger
LGTM to unblock this CL. I still think we should follow-up and make sure the ...
4 years ago (2016-11-24 15:33:53 UTC) #21
rmcilroy
On 2016/11/24 15:33:53, Michael Starzinger wrote: > LGTM to unblock this CL. I still think ...
4 years ago (2016-11-24 15:44:21 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2526243002/40001
4 years ago (2016-11-24 16:36:37 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-24 17:26:44 UTC) #30
commit-bot: I haz the power
4 years ago (2016-11-24 17:27:14 UTC) #32
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/49ea60ef9d4a0659a3ff3ade356aacc29d65d586
Cr-Commit-Position: refs/heads/master@{#41274}

Powered by Google App Engine
This is Rietveld 408576698