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

Issue 7341: Allocate room for expected number of properties based on the... (Closed)

Created:
12 years, 2 months ago by iposva
Modified:
9 years, 4 months ago
Reviewers:
Feng Qian, Kasper Lund
CC:
v8-dev
Visibility:
Public.

Description

Allocate room for expected number of properties based on the constructor in the JSObject. This removes the need to allocate a properties array if the object is never assigned any extra properties. Committed: http://code.google.com/p/v8/source/detail?r=501

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -71 lines) Patch
M src/bootstrapper.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/builtins-ia32.cc View 2 chunks +5 lines, -1 line 0 comments Download
M src/heap.cc View 6 chunks +13 lines, -5 lines 0 comments Download
M src/objects.h View 4 chunks +21 lines, -5 lines 0 comments Download
M src/objects.cc View 12 chunks +13 lines, -21 lines 0 comments Download
M src/objects-debug.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M src/objects-inl.h View 3 chunks +55 lines, -2 lines 0 comments Download
M src/runtime.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/string-stream.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/stub-cache-arm.cc View 3 chunks +45 lines, -17 lines 0 comments Download
M src/stub-cache-ia32.cc View 3 chunks +41 lines, -15 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
iposva
12 years, 2 months ago (2008-10-15 05:44:05 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698