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

Issue 11973035: Added heap capacity and used space status methods, for use by status tools. (Closed)

Created:
7 years, 11 months ago by Tom Ball
Modified:
7 years, 11 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Added heap capacity and used space status methods, for use by status tools. Committed: https://code.google.com/p/dart/source/detail?r=17235

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M runtime/vm/heap.h View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/heap.cc View 1 chunk +10 lines, -0 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
Tom Ball
These are the two files from the unsubmitted status tool CL, unchanged.
7 years, 11 months ago (2013-01-17 17:36:25 UTC) #1
siva
lgtm https://chromiumcodereview.appspot.com/11973035/diff/1/runtime/vm/heap.cc File runtime/vm/heap.cc (right): https://chromiumcodereview.appspot.com/11973035/diff/1/runtime/vm/heap.cc#newcode281 runtime/vm/heap.cc:281: (old_space_->in_use() / KB), (old_space_->capacity() / KB)); We could ...
7 years, 11 months ago (2013-01-17 19:29:03 UTC) #2
Tom Ball
7 years, 11 months ago (2013-01-17 19:43:55 UTC) #3
https://chromiumcodereview.appspot.com/11973035/diff/1/runtime/vm/heap.cc
File runtime/vm/heap.cc (right):

https://chromiumcodereview.appspot.com/11973035/diff/1/runtime/vm/heap.cc#new...
runtime/vm/heap.cc:281: (old_space_->in_use() / KB), (old_space_->capacity() /
KB));
On 2013/01/17 19:29:03, siva wrote:
> We could use your new functions here right (that way it gets exercised):
> 
> (Used(kNew) / KB), (Capacity(kNew) / KB),
> (Used(kOld) / KB), (Capacity(kOld) / KB));

Done.

Powered by Google App Engine
This is Rietveld 408576698