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

Issue 2915863004: [runtime] PreventExtensionsWithTransition: before adding the new (Closed)

Created:
3 years, 6 months ago by kris.selden
Modified:
3 years, 6 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[runtime] PreventExtensionsWithTransition: before adding the new transition, check to see if we have already done this transition. BUG=v8:6450 Review-Url: https://codereview.chromium.org/2915863004 Cr-Commit-Position: refs/heads/master@{#46129} Committed: https://chromium.googlesource.com/v8/v8/+/6681949808bb89675ab64c95a237ae76955e191b

Patch Set 1 #

Patch Set 2 : [runtime] fix memory leak in PreventExtensionsWithTransition #

Total comments: 7

Patch Set 3 : [runtime] fix memory leak in PreventExtensionsWithTransition #

Total comments: 7

Patch Set 4 : [runtime] fix memory leak in PreventExtensionsWithTransition #

Patch Set 5 : [runtime] fix memory leak in PreventExtensionsWithTransition #

Patch Set 6 : [runtime] fix memory leak in PreventExtensionsWithTransition #

Total comments: 2

Patch Set 7 : [runtime] fix memory leak in PreventExtensionsWithTransition #

Patch Set 8 : [runtime] fix memory leak in PreventExtensionsWithTransition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -11 lines) Patch
M src/objects.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 6 7 3 chunks +107 lines, -6 lines 0 comments Download
M test/mjsunit/harmony/private.js View 1 2 3 4 5 6 1 chunk +23 lines, -5 lines 0 comments Download
A test/mjsunit/regress/regress-refreeze-same-map.js View 1 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 48 (28 generated)
Benedikt Meurer
Igor, Toon, please take a look.
3 years, 6 months ago (2017-06-01 09:44:12 UTC) #2
Toon Verwaest
Thanks for the CL Kris! The change makes sense to me, but I'm wondering whether ...
3 years, 6 months ago (2017-06-01 18:50:52 UTC) #3
kris.selden
On 2017/06/01 18:50:52, Toon Verwaest wrote: > Thanks for the CL Kris! The change makes ...
3 years, 6 months ago (2017-06-01 21:27:07 UTC) #4
kris.selden
On 2017/06/01 21:27:07, kris.selden wrote: > On 2017/06/01 18:50:52, Toon Verwaest wrote: > > Thanks ...
3 years, 6 months ago (2017-06-01 21:35:00 UTC) #5
Toon Verwaest
There is indeed no quick way to check it, but the complexity if making it ...
3 years, 6 months ago (2017-06-06 15:25:57 UTC) #6
stefan.penner
> You just save the memory overhead by not retransitioning It is quite surprising that ...
3 years, 6 months ago (2017-06-06 16:21:12 UTC) #7
Toon Verwaest
I think I didn't formulate my review very clearly, since I think you misunderstood my ...
3 years, 6 months ago (2017-06-07 09:19:23 UTC) #8
kris.selden
On 2017/06/07 09:19:23, Toon Verwaest wrote: > I think I didn't formulate my review very ...
3 years, 6 months ago (2017-06-12 19:50:10 UTC) #9
Toon Verwaest
Looks good. Some final minor comments. https://codereview.chromium.org/2915863004/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2915863004/diff/20001/src/objects.cc#newcode7426 src/objects.cc:7426: // prevent memory ...
3 years, 6 months ago (2017-06-13 09:57:06 UTC) #10
Toon Verwaest
https://codereview.chromium.org/2915863004/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2915863004/diff/20001/src/objects.cc#newcode7530 src/objects.cc:7530: ElementsAccessor* accessor = object->GetElementsAccessor(); On 2017/06/13 09:57:06, Toon Verwaest ...
3 years, 6 months ago (2017-06-16 10:03:02 UTC) #11
kris.selden
On 2017/06/16 10:03:02, Toon Verwaest wrote: > https://codereview.chromium.org/2915863004/diff/20001/src/objects.cc > File src/objects.cc (right): > > https://codereview.chromium.org/2915863004/diff/20001/src/objects.cc#newcode7530 ...
3 years, 6 months ago (2017-06-16 13:48:13 UTC) #12
kris.selden
I've addressed the comments, this is ready for review. https://codereview.chromium.org/2915863004/diff/20001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2915863004/diff/20001/src/objects.cc#newcode7426 src/objects.cc:7426: ...
3 years, 6 months ago (2017-06-16 22:32:12 UTC) #13
Toon Verwaest
I like this version a lot! Added some (final, I suppose) comments. https://codereview.chromium.org/2915863004/diff/40001/src/objects.cc File src/objects.cc ...
3 years, 6 months ago (2017-06-20 08:43:23 UTC) #14
kris.selden
https://codereview.chromium.org/2915863004/diff/40001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2915863004/diff/40001/src/objects.cc#newcode7518 src/objects.cc:7518: FOR_WITH_HANDLE_SCOPE(isolate, uint32_t, j = 0, j, j < capacity, ...
3 years, 6 months ago (2017-06-20 19:16:21 UTC) #15
Toon Verwaest
lgtm
3 years, 6 months ago (2017-06-20 19:25:37 UTC) #16
kris.selden
On 2017/06/20 19:25:37, Toon Verwaest wrote: > lgtm it's green now, last issue was filtering ...
3 years, 6 months ago (2017-06-21 17:29:11 UTC) #33
Toon Verwaest
https://codereview.chromium.org/2915863004/diff/100001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2915863004/diff/100001/src/objects.cc#newcode7495 src/objects.cc:7495: if (!dict->IsKey(isolate, dict->KeyAt(i)) || dict->IsDeleted(i)) continue; Private symbols can ...
3 years, 6 months ago (2017-06-21 18:58:08 UTC) #34
Toon Verwaest
lgtm, thanks!
3 years, 6 months ago (2017-06-22 12:16:50 UTC) #43
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/2915863004/140001
3 years, 6 months ago (2017-06-22 12:17:03 UTC) #45
commit-bot: I haz the power
3 years, 6 months ago (2017-06-22 12:19:36 UTC) #48
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/v8/v8/+/6681949808bb89675ab64c95a237ae76955...

Powered by Google App Engine
This is Rietveld 408576698