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

Issue 1426953006: [heap] Separate out optimized code map processing. (Closed)

Created:
5 years, 1 month ago by Michael Starzinger
Modified:
5 years, 1 month ago
Reviewers:
mvstanton, ulan, Yang
CC:
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] Separate out optimized code map processing. This separates the post-processing step for optimized code maps out of the CodeFlusher. It uses the complete SharedFunctionInfo::Iterator to visit all candidates instead of gathering candidates during marking. Gathering candidates during marking no longer makes sense, now that the majority of SharedFunctionInfo objects will hold such an optimized code map. Also it reduces complexity of the implementation. Also conflating this mechanism with "code flushing" was confusing. R=ulan@chromium.org Committed: https://crrev.com/8ad6168d197dd167235c9d342ec7ce37b0daa88b Cr-Commit-Position: refs/heads/master@{#31830}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments. #

Patch Set 3 : Fix comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -200 lines) Patch
M src/heap/gc-tracer.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/gc-tracer.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/heap/mark-compact.h View 1 2 5 chunks +8 lines, -18 lines 0 comments Download
M src/heap/mark-compact.cc View 5 chunks +73 lines, -129 lines 0 comments Download
M src/heap/mark-compact-inl.h View 2 chunks +0 lines, -28 lines 0 comments Download
M src/heap/objects-visiting-inl.h View 2 chunks +13 lines, -12 lines 0 comments Download
M src/objects.h View 1 chunk +2 lines, -3 lines 0 comments Download
M src/objects.cc View 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Michael Starzinger
Michael & Yang: FYI. Ulan: PTAL.
5 years, 1 month ago (2015-11-05 13:12:07 UTC) #2
ulan
LGTM, I like it. https://codereview.chromium.org/1426953006/diff/1/src/heap/gc-tracer.h File src/heap/gc-tracer.h (right): https://codereview.chromium.org/1426953006/diff/1/src/heap/gc-tracer.h#newcode112 src/heap/gc-tracer.h:112: MC_MARK_OPTIMIZED_CODE_MAPS, Please add this to ...
5 years, 1 month ago (2015-11-05 13:23:17 UTC) #3
Michael Starzinger
Thanks. Addressed comments. https://codereview.chromium.org/1426953006/diff/1/src/heap/gc-tracer.h File src/heap/gc-tracer.h (right): https://codereview.chromium.org/1426953006/diff/1/src/heap/gc-tracer.h#newcode112 src/heap/gc-tracer.h:112: MC_MARK_OPTIMIZED_CODE_MAPS, On 2015/11/05 13:23:17, ulan wrote: ...
5 years, 1 month ago (2015-11-05 13:51:03 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1426953006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1426953006/40001
5 years, 1 month ago (2015-11-05 14:31:15 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-05 14:32:48 UTC) #8
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/8ad6168d197dd167235c9d342ec7ce37b0daa88b Cr-Commit-Position: refs/heads/master@{#31830}
5 years, 1 month ago (2015-11-05 14:33:06 UTC) #9
Michael Hablich
5 years, 1 month ago (2015-11-05 16:28:21 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1434503003/ by hablich@chromium.org.

The reason for reverting is: Breaks build:
https://uberchromegw.corp.google.com/i/client.v8/builders/V8%20Linux%20-%20no....

Powered by Google App Engine
This is Rietveld 408576698