Skip to content

Commit

Permalink
[heap] Fix type conversion in gc tracer
Browse files Browse the repository at this point in the history
R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/1438313002

Cr-Commit-Position: refs/heads/master@{#31970}
  • Loading branch information
mlippautz authored and Commit bot committed Nov 12, 2015
1 parent 71348aa commit ccae6b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/heap/gc-tracer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ intptr_t GCTracer::ScavengeSpeedInBytesPerMillisecond(


intptr_t GCTracer::CompactionSpeedInBytesPerMillisecond() const {
if (compaction_events_.size() < kRingBufferMaxSize) return 0.0;
if (compaction_events_.size() < kRingBufferMaxSize) return 0;
intptr_t bytes = 0;
double durations = 0.0;
CompactionEventBuffer::const_iterator iter = compaction_events_.begin();
Expand Down

0 comments on commit ccae6b5

Please sign in to comment.