summaryrefslogtreecommitdiff
path: root/src/env-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/env-inl.h')
-rw-r--r--src/env-inl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/env-inl.h b/src/env-inl.h
index ee170b0715..c361c8fa63 100644
--- a/src/env-inl.h
+++ b/src/env-inl.h
@@ -1151,6 +1151,14 @@ void Environment::ForEachBaseObject(T&& iterator) {
}
}
+void Environment::modify_base_object_count(int64_t delta) {
+ base_object_count_ += delta;
+}
+
+int64_t Environment::base_object_count() const {
+ return base_object_count_;
+}
+
bool AsyncRequest::is_stopped() const {
return stopped_.load();
}