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

Issue 11362246: Implement progress bar for large objects. (Closed)

Created:
8 years, 1 month ago by Michael Starzinger
Modified:
8 years, 1 month ago
CC:
v8-dev
Visibility:
Public.

Description

Implement progress bar for large objects. This implements incremental scanning of large objects using a progress bar in the page header of such objects. Note that this requires forward white to gray transitions in the write barrier and hence is disabled by default for now. R=ulan@chromium.org,hpayer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=12978

Patch Set 1 #

Total comments: 17

Patch Set 2 : Addressed comments. #

Patch Set 3 : Addressed more comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -34 lines) Patch
M src/flag-definitions.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/incremental-marking.h View 1 chunk +0 lines, -13 lines 0 comments Download
M src/incremental-marking.cc View 1 2 5 chunks +91 lines, -15 lines 0 comments Download
M src/mark-compact.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/objects-visiting.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/objects-visiting-inl.h View 1 chunk +1 line, -4 lines 0 comments Download
M src/spaces.h View 4 chunks +27 lines, -1 line 0 comments Download
M src/spaces.cc View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Michael Starzinger
8 years, 1 month ago (2012-11-14 11:54:59 UTC) #1
Hannes Payer (out of office)
https://codereview.chromium.org/11362246/diff/1/src/flag-definitions.h File src/flag-definitions.h (right): https://codereview.chromium.org/11362246/diff/1/src/flag-definitions.h#newcode441 src/flag-definitions.h:441: DEFINE_bool(use_progress_bar, false, should we mention large object in the ...
8 years, 1 month ago (2012-11-14 12:21:04 UTC) #2
ulan
LGTM with few nits. https://chromiumcodereview.appspot.com/11362246/diff/1/src/flag-definitions.h File src/flag-definitions.h (right): https://chromiumcodereview.appspot.com/11362246/diff/1/src/flag-definitions.h#newcode441 src/flag-definitions.h:441: DEFINE_bool(use_progress_bar, false, On 2012/11/14 12:21:04, ...
8 years, 1 month ago (2012-11-15 09:54:23 UTC) #3
Michael Starzinger
Addressed comments. https://chromiumcodereview.appspot.com/11362246/diff/1/src/flag-definitions.h File src/flag-definitions.h (right): https://chromiumcodereview.appspot.com/11362246/diff/1/src/flag-definitions.h#newcode441 src/flag-definitions.h:441: DEFINE_bool(use_progress_bar, false, On 2012/11/15 09:54:23, ulan wrote: ...
8 years, 1 month ago (2012-11-15 15:12:50 UTC) #4
Hannes Payer (out of office)
LGTM https://chromiumcodereview.appspot.com/11362246/diff/1/src/incremental-marking.cc File src/incremental-marking.cc (right): https://chromiumcodereview.appspot.com/11362246/diff/1/src/incremental-marking.cc#newcode247 src/incremental-marking.cc:247: if (end_offset < object_size) { There is probably ...
8 years, 1 month ago (2012-11-15 16:25:54 UTC) #5
Michael Starzinger
8 years, 1 month ago (2012-11-15 17:54:51 UTC) #6
Landing.

https://chromiumcodereview.appspot.com/11362246/diff/1/src/incremental-markin...
File src/incremental-marking.cc (right):

https://chromiumcodereview.appspot.com/11362246/diff/1/src/incremental-markin...
src/incremental-marking.cc:228: Heap* heap = map->GetHeap();
On 2012/11/14 12:21:04, hpayer1 wrote:
> can you set that flag earlier e.g. at allocation time?

Left a TODO in the code about that. Currently there are just too many
bottle-necks that allocate a fixed array.

Powered by Google App Engine
This is Rietveld 408576698