summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_switch_impl0.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/interpreter/interpreter_switch_impl0.cc')
-rw-r--r--runtime/interpreter/interpreter_switch_impl0.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/interpreter/interpreter_switch_impl0.cc b/runtime/interpreter/interpreter_switch_impl0.cc
index 53e37427b3..1bea9da838 100644
--- a/runtime/interpreter/interpreter_switch_impl0.cc
+++ b/runtime/interpreter/interpreter_switch_impl0.cc
@@ -57,8 +57,10 @@ class InactiveTransactionChecker {
[[maybe_unused]] int32_t count)
REQUIRES_SHARED(Locks::mutator_lock_) {}
- ALWAYS_INLINE
- static void RecordAllocatedObject([[maybe_unused]] ObjPtr<mirror::Object> new_object)
+ ALWAYS_INLINE static void RecordNewObject([[maybe_unused]] ObjPtr<mirror::Object> new_object)
+ REQUIRES_SHARED(Locks::mutator_lock_) {}
+
+ ALWAYS_INLINE static void RecordNewArray([[maybe_unused]] ObjPtr<mirror::Array> new_array)
REQUIRES_SHARED(Locks::mutator_lock_) {}
};