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

Issue 40218: Fix garbage collection of unused maps. Null descriptors, created... (Closed)

Created:
11 years, 9 months ago by William Hesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix garbage collection of unused maps. Null descriptors, created by map collection, are now handled correctly everywhere. The map-collect flag is now true by default. Committed: http://code.google.com/p/v8/source/detail?r=1459

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -20 lines) Patch
M src/factory.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M src/flag-definitions.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/handles.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/objects.h View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M src/objects.cc View 1 2 3 10 chunks +24 lines, -17 lines 0 comments Download
M src/property.h View 2 3 1 chunk +4 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-1493017.js View 2 1 chunk +86 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
William Hesse
Null descriptors are no longer returned from searching a DescriptorArray, and are handled correctly by ...
11 years, 9 months ago (2009-03-06 12:18:08 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/40218/diff/1/6 File src/factory.cc (left): http://codereview.chromium.org/40218/diff/1/6#oldcode18 Line 18: // LIMITED TO, THE IMPLIED WARRANTIES OF ...
11 years, 9 months ago (2009-03-06 12:25:28 UTC) #2
Kasper Lund
http://codereview.chromium.org/40218/diff/1/6 File src/factory.cc (right): http://codereview.chromium.org/40218/diff/1/6#newcode539 Line 539: w.WriteFrom(&r); Weird indentation.
11 years, 9 months ago (2009-03-06 12:29:13 UTC) #3
William Hesse
Addressed comments, added regression test. The regression test takes 30 seconds in debug mode, but ...
11 years, 9 months ago (2009-03-09 13:31:59 UTC) #4
Mads Ager (chromium)
LGTM http://codereview.chromium.org/40218/diff/1006/24 File src/handles.cc (right): http://codereview.chromium.org/40218/diff/1006/24#newcode470 Line 470: if (!r.IsTransition() && !r.IsNullDescriptor() && !r.IsDontEnum()) { ...
11 years, 9 months ago (2009-03-09 16:06:52 UTC) #5
William Hesse
11 years, 9 months ago (2009-03-09 16:23:24 UTC) #6
Ready to commit.

http://codereview.chromium.org/40218/diff/1006/24
File src/handles.cc (right):

http://codereview.chromium.org/40218/diff/1006/24#newcode470
Line 470: if (!r.IsTransition() && !r.IsNullDescriptor() && !r.IsDontEnum()) {
On 2009/03/09 16:06:53, Mads Ager wrote:
> Can parts of this be replaced by the new IsProperty?

Done.

Powered by Google App Engine
This is Rietveld 408576698