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

Issue 8099: Collects unused maps that are only kept alive by map transitions.... (Closed)

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

Description

Collects unused maps that are only kept alive by map transitions. If a map has descendents in the map transition tree that are alive, it is kept. Only maps such that they and all their descendants have no live objects are collected. This happens in mark-sweep and mark-compact garbage collections. Committed: http://code.google.com/p/v8/source/detail?r=601

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -21 lines) Patch
M src/flag-definitions.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/mark-compact.h View 1 2 2 chunks +18 lines, -0 lines 0 comments Download
M src/mark-compact.cc View 1 2 7 chunks +162 lines, -13 lines 0 comments Download
M src/objects.h View 1 2 3 chunks +17 lines, -2 lines 0 comments Download
M src/objects.cc View 1 2 3 chunks +64 lines, -1 line 0 comments Download
M src/objects-inl.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/property.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M src/runtime.cc View 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
William Hesse
12 years, 2 months ago (2008-10-23 10:25:38 UTC) #1
Kevin Millikin (Chromium)
Mostly minor comments below (plus the issue with remembered sets mentioned offline). http://codereview.chromium.org/8099/diff/1/4 File src/flag-definitions.h ...
12 years, 2 months ago (2008-10-23 11:33:58 UTC) #2
William Hesse
http://codereview.chromium.org/8099/diff/1/8 File src/mark-compact.cc (right): http://codereview.chromium.org/8099/diff/1/8#newcode455 Line 455: Object *object = Memory::Object_at( On 2008/10/23 11:33:58, Kevin ...
12 years, 2 months ago (2008-10-23 12:51:21 UTC) #3
bak
Otherwise LGTM, Lars http://codereview.chromium.org/8099/diff/22/209 File src/mark-compact.cc (right): http://codereview.chromium.org/8099/diff/22/209#newcode81 Line 81: if (FLAG_collect_maps) { make this ...
12 years, 2 months ago (2008-10-23 13:43:54 UTC) #4
William Hesse
12 years, 1 month ago (2008-10-29 09:41:35 UTC) #5
http://codereview.chromium.org/8099/diff/22/209
File src/mark-compact.cc (right):

http://codereview.chromium.org/8099/diff/22/209#newcode81
Line 81: if (FLAG_collect_maps) {
On 2008/10/23 13:43:54, bak wrote:
> make this a one liner.

Done.

http://codereview.chromium.org/8099/diff/22/209#newcode142
Line 142: if (FLAG_collect_maps) {
On 2008/10/23 13:43:54, bak wrote:
> One line

Done.

Powered by Google App Engine
This is Rietveld 408576698