Commit 88630d4e authored by yangguo's avatar yangguo Committed by Commit bot

Use cctest to track memory stats for isolate and context.

R=machenbach@chromium.org

Review URL: https://codereview.chromium.org/1074143002

Cr-Commit-Position: refs/heads/master@{#27754}
parent 845705aa
...@@ -53,7 +53,6 @@ shell_g ...@@ -53,7 +53,6 @@ shell_g
/test/benchmarks/kraken /test/benchmarks/kraken
/test/benchmarks/octane /test/benchmarks/octane
/test/benchmarks/sunspider /test/benchmarks/sunspider
/test/memory/snapshot.cc
/test/mozilla/CHECKED_OUT_VERSION /test/mozilla/CHECKED_OUT_VERSION
/test/mozilla/data /test/mozilla/data
/test/mozilla/data.old /test/mozilla/data.old
......
...@@ -1549,3 +1549,11 @@ TEST(SerializeInternalReference) { ...@@ -1549,3 +1549,11 @@ TEST(SerializeInternalReference) {
} }
isolate->Dispose(); isolate->Dispose();
} }
TEST(SerializationMemoryStats) {
FLAG_profile_deserialization = true;
FLAG_always_opt = false;
v8::StartupData blob = v8::V8::CreateSnapshotDataBlob();
delete[] blob.data;
}
...@@ -3,9 +3,8 @@ ...@@ -3,9 +3,8 @@
"run_count": 5, "run_count": 5,
"units": "bytes", "units": "bytes",
"path" : ["."], "path" : ["."],
"binary": "mksnapshot", "binary": "cctest",
"flags": ["snapshot.cc", "--profile-deserialization"], "main": "test-serialize/SerializationMemoryStats",
"main": "",
"tests": [ "tests": [
{ {
"name": "ReservedMemoryIsolate", "name": "ReservedMemoryIsolate",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment