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

Issue 11783015: Restore the bytes promoted counter. (Closed)

Created:
7 years, 11 months ago by cshapiro
Modified:
7 years, 11 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, Ivan Posva
Visibility:
Public.

Description

Restore the bytes promoted counter. Committed: https://code.google.com/p/dart/source/detail?r=16764

Patch Set 1 #

Total comments: 4

Patch Set 2 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M runtime/vm/scavenger.cc View 1 5 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
cshapiro
7 years, 11 months ago (2013-01-07 19:37:48 UTC) #1
siva
LGTM once you have a comment detailing the use. This would be useful in order ...
7 years, 11 months ago (2013-01-07 22:33:45 UTC) #2
siva
https://codereview.chromium.org/11783015/diff/1/runtime/vm/scavenger.cc File runtime/vm/scavenger.cc (right): https://codereview.chromium.org/11783015/diff/1/runtime/vm/scavenger.cc#newcode112 runtime/vm/scavenger.cc:112: intptr_t bytes_promoted() { return bytes_promoted_; } intptr_t bytes_promoted() const ...
7 years, 11 months ago (2013-01-07 22:35:33 UTC) #3
cshapiro
7 years, 11 months ago (2013-01-07 23:16:22 UTC) #4
https://codereview.chromium.org/11783015/diff/1/runtime/vm/scavenger.cc
File runtime/vm/scavenger.cc (right):

https://codereview.chromium.org/11783015/diff/1/runtime/vm/scavenger.cc#newco...
runtime/vm/scavenger.cc:112: intptr_t bytes_promoted() { return bytes_promoted_;
}
I thought about doing this during my original change that added this value.

However, none of the other fields in the class make this distinction, so it
looks out of place.

I will add it to this change but it does not appear consistent with the rest of
this class.

https://codereview.chromium.org/11783015/diff/1/runtime/vm/scavenger.cc#newco...
runtime/vm/scavenger.cc:250: intptr_t bytes_promoted_;
I will add a TODO comment about this value's relationship to survival
statistics.

Powered by Google App Engine
This is Rietveld 408576698