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

Unified Diff: test/cctest/test-serialize.cc

Issue 1074143002: Use cctest to track memory stats for isolate and context. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: disable always-opt Created 5 years, 8 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 | « .gitignore ('k') | test/memory/Memory.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-serialize.cc
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc
index cb7094cf92067aaa893e0180916f4ebd6805b6fd..68e371b96edc43aa2bb6c9f82bbc80967097f9e6 100644
--- a/test/cctest/test-serialize.cc
+++ b/test/cctest/test-serialize.cc
@@ -1549,3 +1549,11 @@ TEST(SerializeInternalReference) {
}
isolate->Dispose();
}
+
+
+TEST(SerializationMemoryStats) {
+ FLAG_profile_deserialization = true;
+ FLAG_always_opt = false;
+ v8::StartupData blob = v8::V8::CreateSnapshotDataBlob();
+ delete[] blob.data;
+}
« no previous file with comments | « .gitignore ('k') | test/memory/Memory.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698