[heap] Fix new space size computation in gc tracer.
BUG= Review-Url: https://codereview.chromium.org/2507013002 Cr-Commit-Position: refs/heads/master@{#41035}
This commit is contained in:
parent
94e8417bb4
commit
f702543b9c
@ -174,8 +174,7 @@ void GCTracer::Start(GarbageCollector collector,
|
||||
current_.start_object_size = heap_->SizeOfObjects();
|
||||
current_.start_memory_size = heap_->memory_allocator()->Size();
|
||||
current_.start_holes_size = CountTotalHolesSize(heap_);
|
||||
current_.new_space_object_size =
|
||||
heap_->new_space()->top() - heap_->new_space()->bottom();
|
||||
current_.new_space_object_size = heap_->new_space()->Size();
|
||||
|
||||
current_.incremental_marking_bytes = 0;
|
||||
current_.incremental_marking_duration = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user