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

Side by Side Diff: src/heap/heap.cc

Issue 2759963003: S390: Change printf format specifier for size_t in heap.cc and spaces.cc (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/heap/spaces.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/heap/heap.h" 5 #include "src/heap/heap.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/assembler-inl.h" 9 #include "src/assembler-inl.h"
10 #include "src/ast/context-slot-cache.h" 10 #include "src/ast/context-slot-cache.h"
(...skipping 4540 matching lines...) Expand 10 before | Expand all | Expand 10 after
4551 } 4551 }
4552 4552
4553 4553
4554 // This function expects that NewSpace's allocated objects histogram is 4554 // This function expects that NewSpace's allocated objects histogram is
4555 // populated (via a call to CollectStatistics or else as a side effect of a 4555 // populated (via a call to CollectStatistics or else as a side effect of a
4556 // just-completed scavenge collection). 4556 // just-completed scavenge collection).
4557 void Heap::ReportHeapStatistics(const char* title) { 4557 void Heap::ReportHeapStatistics(const char* title) {
4558 USE(title); 4558 USE(title);
4559 PrintF(">>>>>> =============== %s (%d) =============== >>>>>>\n", title, 4559 PrintF(">>>>>> =============== %s (%d) =============== >>>>>>\n", title,
4560 gc_count_); 4560 gc_count_);
4561 PrintF("old_generation_allocation_limit_ %" V8PRIdPTR "\n", 4561 PrintF("old_generation_allocation_limit_ %" PRIuS "\n",
4562 old_generation_allocation_limit_); 4562 old_generation_allocation_limit_);
4563 4563
4564 PrintF("\n"); 4564 PrintF("\n");
4565 PrintF("Number of handles : %d\n", HandleScope::NumberOfHandles(isolate_)); 4565 PrintF("Number of handles : %d\n", HandleScope::NumberOfHandles(isolate_));
4566 isolate_->global_handles()->PrintStats(); 4566 isolate_->global_handles()->PrintStats();
4567 PrintF("\n"); 4567 PrintF("\n");
4568 4568
4569 PrintF("Heap statistics : "); 4569 PrintF("Heap statistics : ");
4570 memory_allocator()->ReportStatistics(); 4570 memory_allocator()->ReportStatistics();
4571 PrintF("To space : "); 4571 PrintF("To space : ");
(...skipping 1778 matching lines...) Expand 10 before | Expand all | Expand 10 after
6350 } 6350 }
6351 6351
6352 6352
6353 // static 6353 // static
6354 int Heap::GetStaticVisitorIdForMap(Map* map) { 6354 int Heap::GetStaticVisitorIdForMap(Map* map) {
6355 return StaticVisitorBase::GetVisitorId(map); 6355 return StaticVisitorBase::GetVisitorId(map);
6356 } 6356 }
6357 6357
6358 } // namespace internal 6358 } // namespace internal
6359 } // namespace v8 6359 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/heap/spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698