Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dclass_ext-inl.h48 MutableHandle<Object> new_arr(hs.NewHandle<Object>(nullptr)); in EnsureJniIdsArrayPresent()
50 new_arr.Assign(Runtime::Current()->GetJniIdManager()->GetPointerMarker()); in EnsureJniIdsArrayPresent()
52 new_arr.Assign(Runtime::Current()->GetClassLinker()->AllocPointerArray(self, count)); in EnsureJniIdsArrayPresent()
54 if (new_arr.IsNull()) { in EnsureJniIdsArrayPresent()
63 off, nullptr, new_arr.Get(), CASMode::kStrong, std::memory_order_seq_cst); in EnsureJniIdsArrayPresent()
66 off, nullptr, new_arr.Get(), CASMode::kStrong, std::memory_order_seq_cst); in EnsureJniIdsArrayPresent()
70 set ? new_arr.Get() in EnsureJniIdsArrayPresent()
/art/openjdkjvmti/
Dti_heap.cc1911 art::MutableHandle<art::mirror::Array> new_arr(hs.NewHandle<art::mirror::Array>(nullptr)); in ChangeArraySize() local
1913 new_arr.Assign( in ChangeArraySize()
1918 new_arr.Assign(art::mirror::Array::CopyOf(old_arr, self, new_size)); in ChangeArraySize()
1920 if (new_arr.IsNull()) { in ChangeArraySize()
1936 new_arr->SetLockWord(old_arr->GetLockWord(false), false); 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()
1948 new_arr->AsCharArray()->Memcpy(0, old_arr->AsCharArray(), 0, size); in ChangeArraySize()
1951 new_arr->AsShortArray()->Memcpy(0, old_arr->AsShortArray(), 0, size); in ChangeArraySize()
1954 new_arr->AsIntArray()->Memcpy(0, old_arr->AsIntArray(), 0, size); in ChangeArraySize()
[all …]