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

Issue 1020803004: Remove CanRetainOtherContext since embedded objects are now weak. (Closed)

Created:
5 years, 9 months ago by Toon Verwaest
Modified:
5 years, 9 months ago
Reviewers:
dcarney, ulan, Erik Corry
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Remove CanRetainOtherContext since embedded objects are now weak. Instead of CanRetainOtherContext, we now manually blacklist all access-checked objects. BUG= Committed: https://crrev.com/accbe2216eb6b4690e1ae7617450c99058f64ff5 Cr-Commit-Position: refs/heads/master@{#27473}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Restore filtering of polymorphic/megamorphic maps from other contexts, but only directly on the map… #

Patch Set 4 : Less negations #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -64 lines) Patch
M src/hydrogen.cc View 1 4 chunks +13 lines, -4 lines 1 comment Download
M src/ic/stub-cache.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/type-info.h View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
M src/type-info.cc View 1 2 3 5 chunks +5 lines, -54 lines 1 comment Download
M test/mjsunit/constant-folding-2.js View 1 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 13 (3 generated)
Toon Verwaest
PTAL
5 years, 9 months ago (2015-03-26 09:44:36 UTC) #2
Erik Corry
https://codereview.chromium.org/1020803004/diff/20001/src/ic/stub-cache.cc File src/ic/stub-cache.cc (right): https://codereview.chromium.org/1020803004/diff/20001/src/ic/stub-cache.cc#newcode120 src/ic/stub-cache.cc:120: if (entry(primary_, offset) == &primary_[i]) { Apart from avoiding ...
5 years, 9 months ago (2015-03-26 10:09:43 UTC) #4
Toon Verwaest
https://codereview.chromium.org/1020803004/diff/20001/src/ic/stub-cache.cc File src/ic/stub-cache.cc (right): https://codereview.chromium.org/1020803004/diff/20001/src/ic/stub-cache.cc#newcode120 src/ic/stub-cache.cc:120: if (entry(primary_, offset) == &primary_[i]) { On 2015/03/26 10:09:43, ...
5 years, 9 months ago (2015-03-26 10:19:06 UTC) #5
Toon Verwaest
Addressed comment, ptal again
5 years, 9 months ago (2015-03-26 10:40:15 UTC) #6
ulan
lgtm
5 years, 9 months ago (2015-03-26 10:47:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1020803004/60001
5 years, 9 months ago (2015-03-26 10:48:38 UTC) #9
Erik Corry
lgtm https://codereview.chromium.org/1020803004/diff/60001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/1020803004/diff/60001/src/hydrogen.cc#newcode8652 src/hydrogen.cc:8652: top_info()->closure()->context()->native_context()) { You have this several places. How ...
5 years, 9 months ago (2015-03-26 11:20:57 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-26 11:21:58 UTC) #11
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/accbe2216eb6b4690e1ae7617450c99058f64ff5 Cr-Commit-Position: refs/heads/master@{#27473}
5 years, 9 months ago (2015-03-26 11:22:16 UTC) #12
Toon Verwaest
5 years, 9 months ago (2015-03-26 11:40:16 UTC) #13
Message was sent while issue was closed.
https://codereview.chromium.org/1020803004/diff/60001/test/mjsunit/constant-f...
File test/mjsunit/constant-folding-2.js (right):

https://codereview.chromium.org/1020803004/diff/60001/test/mjsunit/constant-f...
test/mjsunit/constant-folding-2.js:29: // Flags: --nodead-code-elimination
--fold-constants --allow-natives-syntax --nostress-opt
On 2015/03/26 11:20:57, Erik Corry wrote:
> Deliberate change?

Yes. If we stress-opt, there's no time for cross-context feedback to be cleared
on context disposal notification.

Powered by Google App Engine
This is Rietveld 408576698