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

Issue 908213002: Use Cells to check prototype chain validity (disabled by default). (Closed)

Created:
5 years, 10 months ago by Jakob Kummerow
Modified:
5 years, 8 months ago
Reviewers:
Toon Verwaest
CC:
v8-dev, v8-mips-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Use Cells to check prototype chain validity (disabled by default). The cells are stored on prototypes (in their map's PrototypeInfo). When a prototype object changes its map, then both its own validity cell and those of all "downstream" prototypes are invalidated; handlers for a given receiver embed the currently valid cell for that receiver's prototype during their compilation and check it on execution. Committed: https://crrev.com/0179ec57975c5063bbecd98e11cdda77ddad8996 Cr-Commit-Position: refs/heads/master@{#27845}

Patch Set 1 #

Patch Set 2 : platform ports; updates as discussed #

Patch Set 3 : rebased onto new foundations #

Patch Set 4 : rebased onto dropped prototype_object #

Total comments: 8

Patch Set 5 : rebased #

Patch Set 6 : addressed comments #

Patch Set 7 : turned the flag off again #

Patch Set 8 : add MIPS ports #

Patch Set 9 : fix arm64 typo (and rebase, sorry) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+443 lines, -110 lines) Patch
M src/flag-definitions.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M src/ic/arm/handler-compiler-arm.cc View 1 2 3 4 5 6 chunks +52 lines, -16 lines 0 comments Download
M src/ic/arm64/handler-compiler-arm64.cc View 1 2 3 4 5 6 7 8 5 chunks +52 lines, -16 lines 0 comments Download
M src/ic/handler-compiler.h View 1 2 5 chunks +5 lines, -4 lines 0 comments Download
M src/ic/handler-compiler.cc View 1 2 3 4 8 chunks +17 lines, -9 lines 0 comments Download
M src/ic/ia32/handler-compiler-ia32.cc View 1 2 3 4 5 6 chunks +52 lines, -13 lines 0 comments Download
M src/ic/mips/handler-compiler-mips.cc View 1 2 3 4 5 6 7 6 chunks +52 lines, -16 lines 0 comments Download
M src/ic/mips64/handler-compiler-mips64.cc View 1 2 3 4 5 6 7 6 chunks +52 lines, -16 lines 0 comments Download
M src/ic/x64/handler-compiler-x64.cc View 1 2 3 4 5 5 chunks +54 lines, -15 lines 0 comments Download
M src/objects.h View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 8 7 chunks +94 lines, -5 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
Jakob Kummerow
PTAL. I'll get started on the platform ports.
5 years, 10 months ago (2015-02-10 14:49:39 UTC) #2
Toon Verwaest
Looking good. As discussed, rather than caching the values on the object somewhere under a ...
5 years, 10 months ago (2015-02-16 17:16:40 UTC) #3
Toon Verwaest
lgtm. You can ignore the handler-compiler comment for now, I think we should just do ...
5 years, 8 months ago (2015-04-07 09:28:38 UTC) #4
Jakob Kummerow
Toon: thanks for the review, addressed your comments. MIPS: This is ready for landing, please ...
5 years, 8 months ago (2015-04-14 09:41:57 UTC) #5
paul.l...
On 2015/04/14 09:41:57, Jakob wrote: > MIPS: This is ready for landing, please be so ...
5 years, 8 months ago (2015-04-14 16:35:24 UTC) #6
balazs.kilvady
On 2015/04/14 16:35:24, paul.l... wrote: > On 2015/04/14 09:41:57, Jakob wrote: > > MIPS: This ...
5 years, 8 months ago (2015-04-14 16:58:50 UTC) #7
Jakob Kummerow
On 2015/04/14 16:35:24, paul.l... wrote: > On 2015/04/14 09:41:57, Jakob wrote: > > MIPS: This ...
5 years, 8 months ago (2015-04-14 17:16:00 UTC) #8
paul.l...
On 2015/04/14 17:16:00, Jakob wrote: > While writing this, I had an idea: did you ...
5 years, 8 months ago (2015-04-14 17:18:42 UTC) #9
paul.l...
On 2015/04/14 17:18:42, paul.l... wrote: > On 2015/04/14 17:16:00, Jakob wrote: > > edit flag-definitions.h ...
5 years, 8 months ago (2015-04-15 01:58:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/908213002/140001
5 years, 8 months ago (2015-04-15 09:42:09 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/4786)
5 years, 8 months ago (2015-04-15 10:37:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/908213002/160001
5 years, 8 months ago (2015-04-15 11:39:29 UTC) #18
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 8 months ago (2015-04-15 12:53:34 UTC) #19
commit-bot: I haz the power
5 years, 8 months ago (2015-04-15 12:53:50 UTC) #20
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/0179ec57975c5063bbecd98e11cdda77ddad8996
Cr-Commit-Position: refs/heads/master@{#27845}

Powered by Google App Engine
This is Rietveld 408576698