diff options
| author | 2017-08-08 08:38:44 +0000 | |
|---|---|---|
| committer | 2017-08-08 08:38:44 +0000 | |
| commit | 19ab59dae5f8521bb09f925fec784b4bc0d143cc (patch) | |
| tree | 16b60b6c43e8c3657d42d80ba881a78863bd7f6e /runtime/class_linker.cc | |
| parent | 3b21019edb5586a73516833482fc203e75309dbe (diff) | |
| parent | 48b40cc97377fe67657b9936ad19395c4218b489 (diff) | |
Merge "Use the right class loader allocator in ReallocMethods."
Diffstat (limited to 'runtime/class_linker.cc')
| -rw-r--r-- | runtime/class_linker.cc | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc index 3ac87c5137..fc14da1067 100644 --- a/runtime/class_linker.cc +++ b/runtime/class_linker.cc @@ -7119,7 +7119,7 @@ void ClassLinker::LinkInterfaceMethodsHelper::ReallocMethods() {                                                                        method_alignment_);    const size_t old_methods_ptr_size = (old_methods != nullptr) ? old_size : 0;    auto* methods = reinterpret_cast<LengthPrefixedArray<ArtMethod>*>( -      Runtime::Current()->GetLinearAlloc()->Realloc( +      class_linker_->GetAllocatorForClassLoader(klass_->GetClassLoader())->Realloc(            self_, old_methods, old_methods_ptr_size, new_size));    CHECK(methods != nullptr);  // Native allocation failure aborts.  |