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; |
+} |