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

Issue 3127016: Make instance_size immediately useful for all fixed size objects. (Closed)

Created:
10 years, 4 months ago by Vitaly Repeshko
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Make instance_size immediately useful for all fixed size objects. For variable sized objects this field doesn't really make any sense so by putting a special value there we can improve SizeFromMap(). Committed: http://code.google.com/p/v8/source/detail?r=5301

Patch Set 1 #

Patch Set 2 : Review fixes #

Patch Set 3 : Review fixes #

Patch Set 4 : Comment fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -62 lines) Patch
M src/heap.cc View 1 5 chunks +10 lines, -10 lines 0 comments Download
M src/objects.h View 1 2 6 chunks +11 lines, -9 lines 0 comments Download
M src/objects.cc View 1 chunk +0 lines, -32 lines 0 comments Download
M src/objects-debug.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/objects-inl.h View 1 2 3 1 chunk +15 lines, -7 lines 0 comments Download
M test/cctest/test-heap.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Vitaly Repeshko
10 years, 4 months ago (2010-08-17 15:00:37 UTC) #1
Vitaly Repeshko
o Renamed kVariableSize to kVariableSizeSentinel. o Added more comments. o Completely removed SlowSizeFromMap. Please take ...
10 years, 4 months ago (2010-08-18 11:31:54 UTC) #2
Vyacheslav Egorov (Chromium)
10 years, 4 months ago (2010-08-18 11:56:20 UTC) #3
LGTM

Powered by Google App Engine
This is Rietveld 408576698