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

Issue 2203783002: [heap] Record references in the new code objects in heap::CopyCode. (Closed)

Created:
4 years, 4 months ago by ahaas
Modified:
4 years, 4 months ago
Reviewers:
Michael Lippautz, ulan
CC:
Hannes Payer (out of office), Mircea Trofin, 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

[heap] Record references in the new code objects in heap::CopyCode. R=mlippautz@chromium.org BUG=chromium:633539 TEST=cctest/test-heap/TestNewSpaceRefsInCopiedCode Committed: https://crrev.com/c088aea9222c312a78e9eae26fab7ffd57704c2e Cr-Commit-Position: refs/heads/master@{#38326}

Patch Set 1 #

Total comments: 8

Patch Set 2 : unfriend the test. #

Patch Set 3 : Remove DCHECK. #

Patch Set 4 : Extract changes into RecordWritesIntoCode function. #

Patch Set 5 : Init tmp pointer to avoid compiler warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -3 lines) Patch
M src/heap/heap.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 3 chunks +9 lines, -1 line 0 comments Download
M src/heap/scavenger-inl.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/heap/heap-tester.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/heap/test-heap.cc View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (24 generated)
ahaas
4 years, 4 months ago (2016-08-02 14:36:44 UTC) #1
Michael Lippautz
+ulan https://codereview.chromium.org/2203783002/diff/1/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/2203783002/diff/1/src/heap/heap.cc#newcode3377 src/heap/heap.cc:3377: for (RelocIterator it(new_code, That works, but ideally we ...
4 years, 4 months ago (2016-08-02 19:07:58 UTC) #7
ahaas
https://codereview.chromium.org/2203783002/diff/1/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/2203783002/diff/1/src/heap/heap.cc#newcode3377 src/heap/heap.cc:3377: for (RelocIterator it(new_code, On 2016/08/02 at 19:07:57, Michael Lippautz ...
4 years, 4 months ago (2016-08-03 08:47:42 UTC) #14
ulan
lgtm https://codereview.chromium.org/2203783002/diff/1/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/2203783002/diff/1/src/heap/heap.cc#newcode3377 src/heap/heap.cc:3377: for (RelocIterator it(new_code, On 2016/08/03 08:47:42, ahaas wrote: ...
4 years, 4 months ago (2016-08-03 10:59:32 UTC) #17
Michael Lippautz
lgtm once Ulan's comment is addressed.
4 years, 4 months ago (2016-08-03 11:25:57 UTC) #18
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/2203783002/80001
4 years, 4 months ago (2016-08-04 08:10:45 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-04 08:12:48 UTC) #30
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 08:14:43 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c088aea9222c312a78e9eae26fab7ffd57704c2e
Cr-Commit-Position: refs/heads/master@{#38326}

Powered by Google App Engine
This is Rietveld 408576698