summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-02-24 17:18:25 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2016-02-24 17:18:25 +0000
commitb0d220835f2ddc03510f17fcc4fb4c64b426a0f5 (patch)
treeab5041089c04767d7957cd99fc7af43f5f47dc48
parenta6be605d83473c8c97245f823f3da2596cb63817 (diff)
Forgot to initialize JIT memory use fields.
Change-Id: I82ae97adffd8e633de048f044cdbdb953b2f9763
-rw-r--r--runtime/jit/jit_code_cache.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/jit/jit_code_cache.cc b/runtime/jit/jit_code_cache.cc
index 6348ddad58..478b164597 100644
--- a/runtime/jit/jit_code_cache.cc
+++ b/runtime/jit/jit_code_cache.cc
@@ -126,6 +126,8 @@ JitCodeCache::JitCodeCache(MemMap* code_map,
has_done_full_collection_(false),
last_update_time_ns_(0),
garbage_collect_code_(garbage_collect_code),
+ used_memory_for_data_(0),
+ used_memory_for_code_(0),
number_of_compilations_(0) {
DCHECK_GE(max_capacity, initial_code_capacity + initial_data_capacity);