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

Issue 768633002: Add infrastructure to keep track of references to prototypes. (Closed)

Created:
6 years ago by Jakob Kummerow
Modified:
6 years ago
Reviewers:
ulan, Toon Verwaest
CC:
v8-dev, ulan
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Add infrastructure to keep track of references to prototypes. There are no users of this infrastructure yet, so it's behind an off-by-default flag. Committed: https://crrev.com/60dafcaab278825cebdfb998370be3cfe10acf8c Cr-Commit-Position: refs/heads/master@{#25829}

Patch Set 1 #

Total comments: 18

Patch Set 2 : addressed comments #

Total comments: 8

Patch Set 3 : addressed Ulan's comments #

Patch Set 4 : rebased #

Patch Set 5 : use WeakCellForMap() when appropriate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+361 lines, -81 lines) Patch
M src/bootstrapper.cc View 1 2 3 12 chunks +27 lines, -24 lines 0 comments Download
M src/factory.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M src/heap/heap.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/isolate.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/isolate.cc View 1 2 3 1 chunk +14 lines, -2 lines 0 comments Download
M src/lookup.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M src/lookup.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/objects.h View 1 2 3 6 chunks +53 lines, -2 lines 0 comments Download
M src/objects.cc View 1 2 3 4 13 chunks +200 lines, -22 lines 0 comments Download
M src/objects-inl.h View 1 2 3 3 chunks +35 lines, -0 lines 0 comments Download
M src/runtime/runtime-classes.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/runtime/runtime-debug.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/runtime/runtime-object.cc View 1 2 3 2 chunks +15 lines, -19 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 1 chunk +3 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Jakob Kummerow
Toon: PTAL. Ulan: FYI (WeakFixedArray definition in src/objects*). I can remove the FLAG_trace_weak_arrays if you ...
6 years ago (2014-11-27 17:16:17 UTC) #2
Toon Verwaest
https://codereview.chromium.org/768633002/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/768633002/diff/1/src/objects.cc#newcode8112 src/objects.cc:8112: Handle<FixedArray>::cast(array)->set(index + kReservedFieldCount, *cell); So kReservedFieldCount is just an ...
6 years ago (2014-12-01 15:23:54 UTC) #3
Jakob Kummerow
Thanks for the review. https://codereview.chromium.org/768633002/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/768633002/diff/1/src/objects.cc#newcode8112 src/objects.cc:8112: Handle<FixedArray>::cast(array)->set(index + kReservedFieldCount, *cell); On ...
6 years ago (2014-12-02 12:32:15 UTC) #4
ulan
https://codereview.chromium.org/768633002/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/768633002/diff/20001/src/objects.cc#newcode8174 src/objects.cc:8174: return; // StoreAnywhere() makes sure there are no duplicates. ...
6 years ago (2014-12-15 15:40:36 UTC) #6
Jakob Kummerow
Thanks for the review. Will now rebase and use Map::WeakCellForMap(). https://codereview.chromium.org/768633002/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/768633002/diff/20001/src/objects.cc#newcode8174 ...
6 years ago (2014-12-15 16:18:49 UTC) #7
ulan
lgtm
6 years ago (2014-12-15 16:32:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/768633002/80001
6 years ago (2014-12-15 19:26:26 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years ago (2014-12-15 19:57:45 UTC) #11
commit-bot: I haz the power
6 years ago (2014-12-17 10:13:46 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/60dafcaab278825cebdfb998370be3cfe10acf8c
Cr-Commit-Position: refs/heads/master@{#25829}

Powered by Google App Engine
This is Rietveld 408576698