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

Issue 14888005: Make Object.freeze fast (Closed)

Created:
7 years, 7 months ago by adamk
Modified:
7 years, 7 months ago
Reviewers:
Toon Verwaest
CC:
v8-dev, arv (Not doing code reviews), rafaelw, rossberg
Visibility:
Public.

Description

Make Object.freeze fast This patch both speeds up the freeze operation itself, but also allows properties to remain in fast mode. Objects with non-empty elements backing stores still end up with slow elements. BUG=v8:1858, 115960 R=verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=14758

Patch Set 1 #

Total comments: 16

Patch Set 2 : Handle review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -82 lines) Patch
M include/v8.h View 1 chunk +1 line, -1 line 0 comments Download
M src/heap.h View 1 chunk +4 lines, -1 line 0 comments Download
M src/heap.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M src/objects.h View 1 6 chunks +19 lines, -5 lines 0 comments Download
M src/objects.cc View 1 15 chunks +207 lines, -62 lines 0 comments Download
M src/objects-inl.h View 1 chunk +10 lines, -0 lines 0 comments Download
M src/property-details.h View 1 3 chunks +9 lines, -1 line 0 comments Download
M src/runtime.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M src/runtime.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download
M src/v8natives.js View 1 1 chunk +19 lines, -12 lines 0 comments Download
M test/mjsunit/object-freeze.js View 1 2 chunks +62 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
adamk
No tests yet: I'd be interested in thoughts on what tests I should be adding ...
7 years, 7 months ago (2013-05-16 01:07:44 UTC) #1
Toon Verwaest
First round of comments. I especially like the CopyReplaceDescriptors changes. Some (simple) tests I can ...
7 years, 7 months ago (2013-05-16 06:47:58 UTC) #2
adamk
Thanks for the review. I've added some tests (there were already some basic tests for ...
7 years, 7 months ago (2013-05-16 21:39:41 UTC) #3
Toon Verwaest
lgtm. Please wait with landing until the we've managed to roll.
7 years, 7 months ago (2013-05-16 22:46:38 UTC) #4
adamk
On 2013/05/16 22:46:38, Toon Verwaest wrote: > lgtm. Please wait with landing until the we've ...
7 years, 7 months ago (2013-05-21 21:35:27 UTC) #5
adamk
7 years, 7 months ago (2013-05-22 18:54:06 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r14758 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698