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

Unified Diff: tools/oom_dump/oom_dump.cc

Issue 1012023002: Merge old data and pointer space. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/grokdump.py ('k') | tools/v8heapconst.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/oom_dump/oom_dump.cc
diff --git a/tools/oom_dump/oom_dump.cc b/tools/oom_dump/oom_dump.cc
index 60e0685377b692586417b82f804820011a93dcc6..581e1914e2e345497c9a4a2a47f319a10e7ae07b 100644
--- a/tools/oom_dump/oom_dump.cc
+++ b/tools/oom_dump/oom_dump.cc
@@ -165,25 +165,23 @@ void DumpHeapStats(const char *minidump_file) {
const int new_space_size = READ_FIELD(1);
const int new_space_capacity = READ_FIELD(2);
- const int old_pointer_space_size = READ_FIELD(3);
- const int old_pointer_space_capacity = READ_FIELD(4);
- const int old_data_space_size = READ_FIELD(5);
- const int old_data_space_capacity = READ_FIELD(6);
- const int code_space_size = READ_FIELD(7);
- const int code_space_capacity = READ_FIELD(8);
- const int map_space_size = READ_FIELD(9);
- const int map_space_capacity = READ_FIELD(10);
- const int cell_space_size = READ_FIELD(11);
- const int cell_space_capacity = READ_FIELD(12);
- const int lo_space_size = READ_FIELD(13);
- const int global_handle_count = READ_FIELD(14);
- const int weak_global_handle_count = READ_FIELD(15);
- const int pending_global_handle_count = READ_FIELD(16);
- const int near_death_global_handle_count = READ_FIELD(17);
- const int destroyed_global_handle_count = READ_FIELD(18);
- const int memory_allocator_size = READ_FIELD(19);
- const int memory_allocator_capacity = READ_FIELD(20);
- const int os_error = READ_FIELD(23);
+ const int old_space_size = READ_FIELD(3);
+ const int old_space_capacity = READ_FIELD(4);
+ const int code_space_size = READ_FIELD(5);
+ const int code_space_capacity = READ_FIELD(6);
+ const int map_space_size = READ_FIELD(7);
+ const int map_space_capacity = READ_FIELD(8);
+ const int cell_space_size = READ_FIELD(9);
+ const int cell_space_capacity = READ_FIELD(10);
+ const int lo_space_size = READ_FIELD(11);
+ const int global_handle_count = READ_FIELD(12);
+ const int weak_global_handle_count = READ_FIELD(13);
+ const int pending_global_handle_count = READ_FIELD(14);
+ const int near_death_global_handle_count = READ_FIELD(15);
+ const int destroyed_global_handle_count = READ_FIELD(16);
+ const int memory_allocator_size = READ_FIELD(17);
+ const int memory_allocator_capacity = READ_FIELD(18);
+ const int os_error = READ_FIELD(19);
#undef READ_FIELD
int objects_per_type[v8::internal::LAST_TYPE + 1] = {0};
@@ -225,10 +223,8 @@ void DumpHeapStats(const char *minidump_file) {
printf("\t%-25s\t% 10.3f MB\n", #stat ":", toM(stat));
PRINT_MB_STAT(new_space_size);
PRINT_MB_STAT(new_space_capacity);
- PRINT_MB_STAT(old_pointer_space_size);
- PRINT_MB_STAT(old_pointer_space_capacity);
- PRINT_MB_STAT(old_data_space_size);
- PRINT_MB_STAT(old_data_space_capacity);
+ PRINT_MB_STAT(old_space_size);
+ PRINT_MB_STAT(old_space_capacity);
PRINT_MB_STAT(code_space_size);
PRINT_MB_STAT(code_space_capacity);
PRINT_MB_STAT(map_space_size);
« no previous file with comments | « tools/grokdump.py ('k') | tools/v8heapconst.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698