summaryrefslogtreecommitdiff
path: root/deps/v8/src/heap/cppgc/process-heap-statistics.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/heap/cppgc/process-heap-statistics.cc')
-rw-r--r--deps/v8/src/heap/cppgc/process-heap-statistics.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/deps/v8/src/heap/cppgc/process-heap-statistics.cc b/deps/v8/src/heap/cppgc/process-heap-statistics.cc
new file mode 100644
index 0000000000..9d38d694b9
--- /dev/null
+++ b/deps/v8/src/heap/cppgc/process-heap-statistics.cc
@@ -0,0 +1,12 @@
+// Copyright 2020 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "src/heap/cppgc/process-heap-statistics.h"
+
+namespace cppgc {
+
+std::atomic_size_t ProcessHeapStatistics::total_allocated_space_{0};
+std::atomic_size_t ProcessHeapStatistics::total_allocated_object_size_{0};
+
+} // namespace cppgc