Lines Matching refs:copy

6  * You may obtain a copy of the License at
208 // Remember the object-inside-of-the-image's hash code so we can restore it after the copy.
258 LOG(FATAL) << "Fat locked object " << object << " found during object copy";
262 LOG(FATAL) << "Thin locked object " << object << " found during object copy";
766 // of dex caches first and then lock it again to copy the dex
914 // Transform each object's bin slot into an offset which will be used to do the final copy.
991 Object* copy = reinterpret_cast<Object*>(dst);
994 copy->SetLockWord(LockWord(), false);
995 image_writer->FixupObject(obj, copy);
1001 FixupVisitor(ImageWriter* image_writer, Object* copy) : image_writer_(image_writer), copy_(copy) {
1028 FixupClassVisitor(ImageWriter* image_writer, Object* copy) : FixupVisitor(image_writer, copy) {
1049 void ImageWriter::FixupObject(Object* orig, Object* copy) {
1051 DCHECK(copy != nullptr);
1055 // Note the address 'copy' isn't the same as the image address of 'orig'.
1056 copy->SetReadBarrierPointer(GetImageAddress(orig));
1057 DCHECK_EQ(copy->GetReadBarrierPointer(), GetImageAddress(orig));
1061 FixupClassVisitor visitor(this, copy);
1064 FixupVisitor visitor(this, copy);
1068 FixupMethod(orig->AsArtMethod<kVerifyNone>(), down_cast<ArtMethod*>(copy));
1072 down_cast<mirror::Class*>(copy)->SetObjectSizeWithoutChecks(size);
1128 void ImageWriter::FixupMethod(ArtMethod* orig, ArtMethod* copy) {
1134 // bytewise copy earlier.
1136 copy->SetEntryPointFromPortableCompiledCodePtrSize<kVerifyNone>(
1139 copy->SetEntryPointFromInterpreterPtrSize<kVerifyNone>(orig->GetEntryPointFromInterpreter(),
1141 copy->SetEntryPointFromJniPtrSize<kVerifyNone>(orig->GetEntryPointFromJni(), target_ptr_size_);
1142 copy->SetEntryPointFromQuickCompiledCodePtrSize<kVerifyNone>(
1149 copy->SetEntryPointFromPortableCompiledCodePtrSize<kVerifyNone>(
1152 copy->SetEntryPointFromQuickCompiledCodePtrSize<kVerifyNone>(
1157 copy->SetEntryPointFromPortableCompiledCode<kVerifyNone>(
1160 copy->SetEntryPointFromQuickCompiledCodePtrSize<kVerifyNone>(
1168 copy->SetEntryPointFromPortableCompiledCode<kVerifyNone>(
1171 copy->SetEntryPointFromQuickCompiledCodePtrSize<kVerifyNone>(
1173 copy->SetEntryPointFromInterpreterPtrSize<kVerifyNone>(
1179 copy->SetEntryPointFromQuickCompiledCodePtrSize<kVerifyNone>(quick_code, target_ptr_size_);
1203 copy->SetEntryPointFromPortableCompiledCodePtrSize<kVerifyNone>(
1210 copy->SetEntryPointFromJniPtrSize<kVerifyNone>(GetOatAddress(jni_dlsym_lookup_offset_),
1222 copy->SetEntryPointFromInterpreterPtrSize<kVerifyNone>(