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

Issue 2407183002: [modules] Don't unnecessarily keep function alive after evaluation. (Closed)

Created:
4 years, 2 months ago by neis
Modified:
4 years, 2 months ago
Reviewers:
adamk
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[modules] Don't unnecessarily keep function alive after evaluation. Also hide some implementation details behind abstract predicates and clean up the heap verifier functions. R=adamk@chromium.org BUG=v8:1569 Committed: https://crrev.com/4c364e63af9b87dd5c2925ddd237e3cf0c29c2ed Cr-Commit-Position: refs/heads/master@{#40336}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebase. #

Patch Set 3 : Clean up heap verifier functions. #

Patch Set 4 : Remove shared(). #

Total comments: 1

Patch Set 5 : Remove stale offset. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -49 lines) Patch
M src/api.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/factory.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M src/objects.h View 1 2 3 4 2 chunks +18 lines, -22 lines 0 comments Download
M src/objects.cc View 1 2 3 4 4 chunks +7 lines, -8 lines 0 comments Download
M src/objects-debug.cc View 1 2 1 chunk +15 lines, -10 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 1 chunk +14 lines, -6 lines 0 comments Download
M test/cctest/interpreter/bytecode-expectations-printer.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 18 (9 generated)
neis
4 years, 2 months ago (2016-10-11 09:37:58 UTC) #1
neis
Let me know what you think. One thing I don't like is that the name ...
4 years, 2 months ago (2016-10-11 09:38:49 UTC) #2
adamk
Overall seems reasonable for now (I'm not convinced we won't need to have a reference ...
4 years, 2 months ago (2016-10-11 15:54:05 UTC) #3
neis
> https://codereview.chromium.org/2407183002/diff/1/src/objects-debug.cc#newcode937 > src/objects-debug.cc:937: code()->ObjectVerify(); > Maybe just remove all these ObjectVerify calls while you're ...
4 years, 2 months ago (2016-10-14 09:20:16 UTC) #5
adamk
lgtm https://codereview.chromium.org/2407183002/diff/60001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/2407183002/diff/60001/src/objects.h#newcode8022 src/objects.h:8022: static const int kEmbedderDataOffset = kRequestedModulesOffset + kPointerSize; ...
4 years, 2 months ago (2016-10-14 18:01:02 UTC) #10
neis
On 2016/10/14 18:01:02, adamk wrote: > lgtm > > https://codereview.chromium.org/2407183002/diff/60001/src/objects.h > File src/objects.h (right): > ...
4 years, 2 months ago (2016-10-17 06:57:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2407183002/80001
4 years, 2 months ago (2016-10-17 07:07:36 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-17 07:36:49 UTC) #16
commit-bot: I haz the power
4 years, 2 months ago (2016-10-17 07:37:11 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4c364e63af9b87dd5c2925ddd237e3cf0c29c2ed
Cr-Commit-Position: refs/heads/master@{#40336}

Powered by Google App Engine
This is Rietveld 408576698