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

Issue 247263003: Hide heap methods where possible. (Closed)

Created:
6 years, 8 months ago by Yang
Modified:
6 years, 7 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Hide heap methods where possible. Factory is already a friend class of Heap. We introduce a TestHeap class in cctest.h to access protected methods. R=mstarzinger@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21053

Patch Set 1 #

Total comments: 7

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -206 lines) Patch
M src/factory.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/factory.cc View 1 3 chunks +7 lines, -8 lines 0 comments Download
M src/heap.h View 1 13 chunks +149 lines, -183 lines 0 comments Download
M src/heap.cc View 1 1 chunk +0 lines, -9 lines 0 comments Download
M test/cctest/cctest.h View 1 2 chunks +17 lines, -0 lines 0 comments Download
M test/cctest/test-alloc.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-heap.cc View 1 2 chunks +11 lines, -4 lines 0 comments Download
M test/cctest/test-mark-compact.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Yang
6 years, 8 months ago (2014-04-23 07:59:11 UTC) #1
Michael Starzinger
LGTM. Just nits. https://codereview.chromium.org/247263003/diff/1/src/factory.h File src/factory.h (right): https://codereview.chromium.org/247263003/diff/1/src/factory.h#newcode672 src/factory.h:672: inline Handle<Code> NewCodeHelper(int object_size, bool immovable); ...
6 years, 7 months ago (2014-04-29 13:15:09 UTC) #2
Yang
https://codereview.chromium.org/247263003/diff/1/src/factory.h File src/factory.h (right): https://codereview.chromium.org/247263003/diff/1/src/factory.h#newcode672 src/factory.h:672: inline Handle<Code> NewCodeHelper(int object_size, bool immovable); On 2014/04/29 13:15:09, ...
6 years, 7 months ago (2014-04-29 13:55:13 UTC) #3
Yang
6 years, 7 months ago (2014-04-29 13:59:10 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r21053 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698