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

Unified Diff: src/extensions/statistics-extension.cc

Issue 1027463002: Revert "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 | « src/counters.h ('k') | src/factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/extensions/statistics-extension.cc
diff --git a/src/extensions/statistics-extension.cc b/src/extensions/statistics-extension.cc
index 0bd9497b851793f99257b9a2a2faffbb8a360521..58f808bbc9786f47a4f49b33e0d315ec02f6044f 100644
--- a/src/extensions/statistics-extension.cc
+++ b/src/extensions/statistics-extension.cc
@@ -108,9 +108,15 @@ void StatisticsExtension::GetCounters(
{heap->new_space()->Size(), "new_space_live_bytes"},
{heap->new_space()->Available(), "new_space_available_bytes"},
{heap->new_space()->CommittedMemory(), "new_space_commited_bytes"},
- {heap->old_space()->Size(), "old_space_live_bytes"},
- {heap->old_space()->Available(), "old_space_available_bytes"},
- {heap->old_space()->CommittedMemory(), "old_space_commited_bytes"},
+ {heap->old_pointer_space()->Size(), "old_pointer_space_live_bytes"},
+ {heap->old_pointer_space()->Available(),
+ "old_pointer_space_available_bytes"},
+ {heap->old_pointer_space()->CommittedMemory(),
+ "old_pointer_space_commited_bytes"},
+ {heap->old_data_space()->Size(), "old_data_space_live_bytes"},
+ {heap->old_data_space()->Available(), "old_data_space_available_bytes"},
+ {heap->old_data_space()->CommittedMemory(),
+ "old_data_space_commited_bytes"},
{heap->code_space()->Size(), "code_space_live_bytes"},
{heap->code_space()->Available(), "code_space_available_bytes"},
{heap->code_space()->CommittedMemory(), "code_space_commited_bytes"},
« no previous file with comments | « src/counters.h ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698