Searched refs:old_arr (Results 1 – 1 of 1) sorted by relevance
/art/openjdkjvmti/ |
D | ti_heap.cc | 1910 art::Handle<art::mirror::Array> old_arr(hs.NewHandle(soa.Decode<art::mirror::Array>(arr))); in ChangeArraySize() local 1914 art::mirror::ObjectArray<art::mirror::Object>::Alloc(self, old_arr->GetClass(), new_size)); in ChangeArraySize() 1918 new_arr.Assign(art::mirror::Array::CopyOf(old_arr, self, new_size)); in ChangeArraySize() 1922 JVMTI_LOG(INFO, env) << "Unable to allocate " << old_arr->GetClass()->PrettyClass() in ChangeArraySize() 1936 new_arr->SetLockWord(old_arr->GetLockWord(false), false); in ChangeArraySize() 1937 old_arr->SetLockWord(art::LockWord::Default(), false); in ChangeArraySize() 1939 int32_t size = std::min(old_arr->GetLength(), new_size); in ChangeArraySize() 1940 switch (old_arr->GetClass()->GetComponentType()->GetPrimitiveType()) { in ChangeArraySize() 1942 new_arr->AsBooleanArray()->Memcpy(0, old_arr->AsBooleanArray(), 0, size); in ChangeArraySize() 1945 new_arr->AsByteArray()->Memcpy(0, old_arr->AsByteArray(), 0, size); in ChangeArraySize() [all …]
|