summaryrefslogtreecommitdiff
path: root/runtime/runtime.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2022-12-08 13:52:00 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-12-08 13:52:00 +0000
commit50bf901b19ccbd0f2759b09a11b4f27e61ac0c02 (patch)
tree445d74cae806f32c99e9286725c9102041427154 /runtime/runtime.cc
parentfe85442aa7e04c39f76854b7ddfb358360b423ed (diff)
parent849d09a81907f16d8ccc6019b8baf86a304b730c (diff)
Split local reference table out of `IndirectReferenceTable`. am: 849d09a819
Original change: https://android-review.googlesource.com/c/platform/art/+/2309329 Change-Id: I391aa1f8d8cafa0785c4ff3944f7d4e7875fd958 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'runtime/runtime.cc')
-rw-r--r--runtime/runtime.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index e99eaec150..8c4062ee22 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -512,8 +512,8 @@ Runtime::~Runtime() {
monitor_pool_ = nullptr;
delete class_linker_;
class_linker_ = nullptr;
- delete small_irt_allocator_;
- small_irt_allocator_ = nullptr;
+ delete small_lrt_allocator_;
+ small_lrt_allocator_ = nullptr;
delete heap_;
heap_ = nullptr;
delete intern_table_;
@@ -1727,7 +1727,7 @@ bool Runtime::Init(RuntimeArgumentMap&& runtime_options_in) {
linear_alloc_.reset(CreateLinearAlloc());
startup_linear_alloc_.reset(CreateLinearAlloc());
- small_irt_allocator_ = new SmallIrtAllocator();
+ small_lrt_allocator_ = new jni::SmallLrtAllocator();
BlockSignals();
InitPlatformSignalHandlers();