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

Unified Diff: src/heap.h

Issue 460069: Changed recording of heap stats on OOM to store data directly in local (Closed)
Patch Set: Review fixes Created 11 years 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 | « src/global-handles.cc ('k') | src/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index 68182fa1beb6878a76ec4cf9d8c209959bff1568..b37fe4b5b8154f18155783f862995928c19b517b 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -1105,24 +1105,26 @@ class Heap : public AllStatic {
class HeapStats {
public:
- int new_space_size;
- int new_space_capacity;
- int old_pointer_space_size;
- int old_pointer_space_capacity;
- int old_data_space_size;
- int old_data_space_capacity;
- int code_space_size;
- int code_space_capacity;
- int map_space_size;
- int map_space_capacity;
- int cell_space_size;
- int cell_space_capacity;
- int lo_space_size;
- int global_handle_count;
- int weak_global_handle_count;
- int pending_global_handle_count;
- int near_death_global_handle_count;
- int destroyed_global_handle_count;
+ int *start_marker;
+ int *new_space_size;
+ int *new_space_capacity;
+ int *old_pointer_space_size;
+ int *old_pointer_space_capacity;
+ int *old_data_space_size;
+ int *old_data_space_capacity;
+ int *code_space_size;
+ int *code_space_capacity;
+ int *map_space_size;
+ int *map_space_capacity;
+ int *cell_space_size;
+ int *cell_space_capacity;
+ int *lo_space_size;
+ int *global_handle_count;
+ int *weak_global_handle_count;
+ int *pending_global_handle_count;
+ int *near_death_global_handle_count;
+ int *destroyed_global_handle_count;
+ int *end_marker;
};
« no previous file with comments | « src/global-handles.cc ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698