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

Issue 1097113003: Fix unobservable constructor replacement on prototype maps (Closed)

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

Description

Fix unobservable constructor replacement on prototype maps BUG=chromium:478522 LOG=y R=verwaest@chromium.org Committed: https://crrev.com/22f2b13fa8df33e4a0dc58860577a242a4aa5f86 Cr-Commit-Position: refs/heads/master@{#28126}

Patch Set 1 #

Patch Set 2 : add test case #

Patch Set 3 : new approach: use prototype_info #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -14 lines) Patch
M src/factory.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/objects.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M src/objects.cc View 1 2 2 chunks +17 lines, -6 lines 0 comments Download
M src/objects-debug.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/objects-inl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/objects-printer.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 2 chunks +14 lines, -7 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
Jakob Kummerow
PTAL. See the referenced bug for background. Apparently this was broken by https://codereview.chromium.org/942493002. I'm not ...
5 years, 8 months ago (2015-04-20 17:20:53 UTC) #1
Toon Verwaest
Yeah this indeed breaks the entire optimization. If we really want to support the alternative, ...
5 years, 8 months ago (2015-04-20 23:00:30 UTC) #2
Jakob Kummerow
OK, let's drop this approach then. We could use the PrototypeInfo to store the original ...
5 years, 8 months ago (2015-04-21 12:46:11 UTC) #3
Toon Verwaest
Good idea, that makes sense.
5 years, 8 months ago (2015-04-21 13:12:53 UTC) #4
Jakob Kummerow
New approach implemented; unfortunately the patch set includes a rebase. The testcase is unchanged, everything ...
5 years, 8 months ago (2015-04-27 13:31:55 UTC) #5
Toon Verwaest
lgtm
5 years, 8 months ago (2015-04-27 15:05:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097113003/40001
5 years, 7 months ago (2015-04-28 14:12:33 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_nodcheck_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel/builds/2237)
5 years, 7 months ago (2015-04-28 14:25:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1097113003/40001
5 years, 7 months ago (2015-04-29 09:14:03 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-04-29 09:31:43 UTC) #13
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 09:32:01 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/22f2b13fa8df33e4a0dc58860577a242a4aa5f86
Cr-Commit-Position: refs/heads/master@{#28126}

Powered by Google App Engine
This is Rietveld 408576698