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

Issue 1301583003: Make heap.h usable without objects-inl.h header. (Closed)

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

Description

Make heap.h usable without objects-inl.h header. This CL us a pure refactoring that makes an empty compilation unit including just "heap.h" but not "objects-inl.h" compile without warnings or errors. This is needed to further reduce the header dependency tangle. R=mlippautz@chromium.org Committed: https://crrev.com/f2796382d7c1a27fec53c1f7dc445181ee701c98 Cr-Commit-Position: refs/heads/master@{#30227}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Addressed offline comment. #

Patch Set 3 : Simplify scavenger dispatch. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -66 lines) Patch
M src/heap/heap.h View 1 2 6 chunks +19 lines, -59 lines 0 comments Download
M src/heap/heap.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/heap/heap-inl.h View 2 chunks +78 lines, -0 lines 0 comments Download
M src/heap/identity-map.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/heap/objects-visiting.h View 1 chunk +2 lines, -4 lines 0 comments Download
M src/heap/objects-visiting-inl.h View 1 chunk +7 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 10 (1 generated)
Michael Starzinger
https://codereview.chromium.org/1301583003/diff/1/src/heap/identity-map.cc File src/heap/identity-map.cc (left): https://codereview.chromium.org/1301583003/diff/1/src/heap/identity-map.cc#oldcode8 src/heap/identity-map.cc:8: #include "src/objects-inl.h" // TODO(mstarzinger): Temporary cycle breaker! Yay! \o/
5 years, 4 months ago (2015-08-17 13:17:06 UTC) #1
Michael Lippautz
https://codereview.chromium.org/1301583003/diff/1/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/1301583003/diff/1/src/heap/heap.cc#newcode2620 src/heap/heap.cc:2620: void Heap::DoScavengeObject(Map* map, HeapObject** slot, HeapObject* obj) { On ...
5 years, 4 months ago (2015-08-17 13:42:35 UTC) #2
Michael Starzinger
https://codereview.chromium.org/1301583003/diff/1/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/1301583003/diff/1/src/heap/heap.cc#newcode2620 src/heap/heap.cc:2620: void Heap::DoScavengeObject(Map* map, HeapObject** slot, HeapObject* obj) { On ...
5 years, 4 months ago (2015-08-17 14:22:55 UTC) #3
Michael Lippautz
5 years, 4 months ago (2015-08-17 14:28:23 UTC) #4
Michael Lippautz
lgtm
5 years, 4 months ago (2015-08-17 14:28:29 UTC) #5
Michael Lippautz
still lgtm
5 years, 4 months ago (2015-08-18 16:13:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1301583003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1301583003/40001
5 years, 4 months ago (2015-08-18 16:15:45 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-18 16:21:38 UTC) #9
commit-bot: I haz the power
5 years, 4 months ago (2015-08-18 16:21:46 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f2796382d7c1a27fec53c1f7dc445181ee701c98
Cr-Commit-Position: refs/heads/master@{#30227}

Powered by Google App Engine
This is Rietveld 408576698