Home
last modified time | relevance | path

Searched refs:old_arr (Results 1 – 1 of 1) sorted by relevance

/art/openjdkjvmti/
Dti_heap.cc1917 art::Handle<art::mirror::Array> old_arr(hs.NewHandle(soa.Decode<art::mirror::Array>(arr))); in ChangeArraySize() local
1921 art::mirror::ObjectArray<art::mirror::Object>::Alloc(self, old_arr->GetClass(), new_size)); in ChangeArraySize()
1925 new_arr.Assign(art::mirror::Array::CopyOf(old_arr, self, new_size)); in ChangeArraySize()
1929 JVMTI_LOG(INFO, env) << "Unable to allocate " << old_arr->GetClass()->PrettyClass() in ChangeArraySize()
1943 new_arr->SetLockWord(old_arr->GetLockWord(false), false); in ChangeArraySize()
1944 old_arr->SetLockWord(art::LockWord::Default(), false); in ChangeArraySize()
1946 int32_t size = std::min(old_arr->GetLength(), new_size); in ChangeArraySize()
1947 switch (old_arr->GetClass()->GetComponentType()->GetPrimitiveType()) { in ChangeArraySize()
1949 new_arr->AsBooleanArray()->Memcpy(0, old_arr->AsBooleanArray(), 0, size); in ChangeArraySize()
1952 new_arr->AsByteArray()->Memcpy(0, old_arr->AsByteArray(), 0, size); in ChangeArraySize()
[all …]