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

Issue 1320843002: [heap] Limit friendship of the Heap class to essentials. (Closed)

Created:
5 years, 3 months ago by Michael Starzinger
Modified:
5 years, 3 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[heap] Limit friendship of the Heap class to essentials. This makes it clear that only components within the "heap" directory should be friends with the Heap class. The two notable exceptions are Factory and Isolate which represent external interfaces into the heap. R=mlippautz@chromium.org Committed: https://crrev.com/8d54fc2e876ae7ba278a09ff1b0733f07cf68ff0 Cr-Commit-Position: refs/heads/master@{#30408}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix comment. #

Patch Set 3 : Addressed comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -32 lines) Patch
M src/bootstrapper.cc View 1 2 2 chunks +2 lines, -7 lines 0 comments Download
M src/code-stubs.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/deoptimizer.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/factory.h View 1 chunk +0 lines, -8 lines 0 comments Download
M src/heap/heap.h View 1 2 2 chunks +25 lines, -11 lines 0 comments Download
M src/heap/heap.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/ic/ic-compiler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/objects.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/snapshot/serialize.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (7 generated)
Michael Starzinger
Yang: PTAL at bootstrapper and deserializer. Mike: PTAL.
5 years, 3 months ago (2015-08-27 09:23:59 UTC) #2
Hannes Payer (out of office)
https://codereview.chromium.org/1320843002/diff/1/src/heap/heap.h File src/heap/heap.h (right): https://codereview.chromium.org/1320843002/diff/1/src/heap/heap.h#newcode1231 src/heap/heap.h:1231: void public_set_code_stub_context(Object* value) { These are not "real" setters. ...
5 years, 3 months ago (2015-08-27 09:25:02 UTC) #4
Michael Starzinger
https://codereview.chromium.org/1320843002/diff/1/src/heap/heap.h File src/heap/heap.h (right): https://codereview.chromium.org/1320843002/diff/1/src/heap/heap.h#newcode1231 src/heap/heap.h:1231: void public_set_code_stub_context(Object* value) { On 2015/08/27 09:25:02, Hannes Payer ...
5 years, 3 months ago (2015-08-27 09:27:48 UTC) #5
Yang
On 2015/08/27 09:27:48, Michael Starzinger wrote: > https://codereview.chromium.org/1320843002/diff/1/src/heap/heap.h > File src/heap/heap.h (right): > > https://codereview.chromium.org/1320843002/diff/1/src/heap/heap.h#newcode1231 ...
5 years, 3 months ago (2015-08-27 09:28:45 UTC) #6
Hannes Payer (out of office)
https://codereview.chromium.org/1320843002/diff/1/src/heap/heap.h File src/heap/heap.h (right): https://codereview.chromium.org/1320843002/diff/1/src/heap/heap.h#newcode1231 src/heap/heap.h:1231: void public_set_code_stub_context(Object* value) { On 2015/08/27 09:27:48, Michael Starzinger ...
5 years, 3 months ago (2015-08-27 10:11:01 UTC) #7
Hannes Payer (out of office)
lgtm, after beautifying the names
5 years, 3 months ago (2015-08-27 10:39:17 UTC) #8
Michael Starzinger
Addressed comments. https://codereview.chromium.org/1320843002/diff/1/src/heap/heap.h File src/heap/heap.h (right): https://codereview.chromium.org/1320843002/diff/1/src/heap/heap.h#newcode1231 src/heap/heap.h:1231: void public_set_code_stub_context(Object* value) { On 2015/08/27 10:11:00, ...
5 years, 3 months ago (2015-08-27 11:09:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1320843002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1320843002/40001
5 years, 3 months ago (2015-08-27 11:50:32 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/5281)
5 years, 3 months ago (2015-08-27 11:52:55 UTC) #14
mvstanton
lgtm
5 years, 3 months ago (2015-08-27 12:27:10 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1320843002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1320843002/40001
5 years, 3 months ago (2015-08-27 12:29:00 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 3 months ago (2015-08-27 12:30:09 UTC) #19
commit-bot: I haz the power
5 years, 3 months ago (2015-08-27 12:30:24 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8d54fc2e876ae7ba278a09ff1b0733f07cf68ff0
Cr-Commit-Position: refs/heads/master@{#30408}

Powered by Google App Engine
This is Rietveld 408576698