Searched refs:offset (Results 151 - 175 of 262) sorted by last modified time

1234567891011

/art/runtime/gc/accounting/
H A Dcard_table.cc78 // kCardDirty, compute a offset value to make this the case
79 size_t offset = 0; local
85 offset = delta + (delta < 0 ? 0x100 : 0);
86 biased_begin += offset;
89 return new CardTable(mem_map.release(), biased_begin, offset);
92 CardTable::CardTable(MemMap* mem_map, uint8_t* biased_begin, size_t offset) argument
93 : mem_map_(mem_map), biased_begin_(biased_begin), offset_(offset) {
H A Dcard_table.h134 CardTable(MemMap* begin, uint8_t* biased_begin, size_t offset);
148 // Card table doesn't begin at the beginning of the mem_map_, instead it is displaced by offset
H A Dcard_table_test.cc65 size_t offset = RoundDown(addr - heap_begin_, CardTable::kCardSize); local
66 return 1 + offset % 254;
H A Dmod_union_table.cc100 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
102 MarkReference(obj->GetFieldObjectReferenceAddr(offset));
190 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
192 mirror::HeapReference<mirror::Object>* ref_ptr = obj->GetFieldObjectReferenceAddr(offset);
265 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
267 mirror::Object* ref = obj->GetFieldObject<mirror::Object>(offset);
H A Dremembered_set.cc69 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
72 mirror::HeapReference<mirror::Object>* ref_ptr = obj->GetFieldObjectReferenceAddr(offset);
H A Dspace_bitmap-inl.h36 const uintptr_t offset = addr - heap_begin_; local
37 const size_t index = OffsetToIndex(offset);
38 const uintptr_t mask = OffsetToMask(offset);
60 const uintptr_t offset = addr - heap_begin_; local
61 return (bitmap_begin_[OffsetToIndex(offset)] & OffsetToMask(offset)) != 0;
163 const uintptr_t offset = addr - heap_begin_; local
164 const size_t index = OffsetToIndex(offset);
165 const uintptr_t mask = OffsetToMask(offset);
H A Dspace_bitmap.h59 // <offset> is the difference from .base to a pointer address.
61 // <offset>.
62 static constexpr size_t OffsetToIndex(size_t offset) { argument
63 return offset / kAlignment / kBitsPerIntPtrT;
72 static constexpr uintptr_t OffsetToMask(uintptr_t offset) { argument
73 return (static_cast<size_t>(1)) << ((offset / kAlignment) % kBitsPerIntPtrT);
95 // If obj < heap_begin_ then offset underflows to some very large value past the end of the
97 const uintptr_t offset = reinterpret_cast<uintptr_t>(obj) - heap_begin_; local
98 const size_t index = OffsetToIndex(offset);
H A Dspace_bitmap_test.cc127 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment); variable
131 space_bitmap->Set(reinterpret_cast<mirror::Object*>(heap_begin + offset));
133 space_bitmap->Clear(reinterpret_cast<mirror::Object*>(heap_begin + offset));
141 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment); variable
142 size_t remain = heap_capacity - offset;
143 size_t end = offset + RoundDown(r.next() % (remain + 1), kAlignment);
145 space_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(heap_begin) + offset,
149 for (uintptr_t k = offset; k < end; k += kAlignment) {
/art/runtime/gc/collector/
H A Dconcurrent_copying.cc704 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
707 obj->GetFieldObject<mirror::Object, kDefaultVerifyFlags, kWithoutReadBarrier>(offset);
836 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
839 obj->GetFieldObject<mirror::Object, kDefaultVerifyFlags, kWithoutReadBarrier>(offset);
1407 void ConcurrentCopying::AssertToSpaceInvariant(mirror::Object* obj, MemberOffset offset, argument
1419 LogFromSpaceRefHolder(obj, offset);
1489 void ConcurrentCopying::LogFromSpaceRefHolder(mirror::Object* obj, MemberOffset offset) { argument
1543 LOG(INFO) << "offset=" << offset.SizeValue();
1588 void operator()(mirror::Object* obj, MemberOffset offset, boo
1628 Process(mirror::Object* obj, MemberOffset offset) argument
[all...]
H A Dconcurrent_copying.h88 void AssertToSpaceInvariant(mirror::Object* obj, MemberOffset offset, mirror::Object* ref)
120 void Process(mirror::Object* obj, MemberOffset offset)
178 void LogFromSpaceRefHolder(mirror::Object* obj, MemberOffset offset)
H A Dmark_compact.cc416 void operator()(mirror::Object* obj, MemberOffset offset, bool /*is_static*/) const
418 collector_->UpdateHeapReference(obj->GetFieldObjectReferenceAddr<kVerifyNone>(offset));
554 void operator()(mirror::Object* obj, MemberOffset offset, bool /*is_static*/) const ALWAYS_INLINE
557 collector_->MarkObject(obj->GetFieldObject<mirror::Object, kVerifyNone>(offset));
H A Dmark_sweep.cc400 MemberOffset offset = MemberOffset(0))
403 offset_(offset) {}
426 << " offset=" << offset_.Uint32Value()
482 MemberOffset offset) {
504 MarkObjectSlowPath visitor(this, holder, offset);
550 MemberOffset offset) {
552 MarkObjectNonNull(obj, holder, offset);
678 MemberOffset offset,
681 Mark(obj->GetFieldObject<mirror::Object>(offset));
1329 MemberOffset offset,
480 MarkObjectNonNull(mirror::Object* obj, mirror::Object* holder, MemberOffset offset) argument
548 MarkObject(mirror::Object* obj, mirror::Object* holder, MemberOffset offset) argument
[all...]
H A Dmark_sweep.h213 void MarkObject(mirror::Object* obj, mirror::Object* holder, MemberOffset offset)
238 MemberOffset offset = MemberOffset(0))
H A Dsemi_space.cc291 void operator()(Object* obj, MemberOffset offset, bool /* is_static */) const
293 mirror::Object* ref = obj->GetFieldObject<mirror::Object>(offset);
687 void operator()(Object* obj, MemberOffset offset, bool /* is_static */) const ALWAYS_INLINE
690 collector_->MarkObject(obj->GetFieldObjectReferenceAddr<kVerifyNone>(offset));
/art/runtime/gc/
H A Dheap.cc1987 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
1989 mirror::Object* ref = obj->GetFieldObject<mirror::Object>(offset);
2871 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
2873 VerifyReference(obj, obj->GetFieldObject<mirror::Object>(offset), offset);
2905 bool VerifyReference(mirror::Object* obj, mirror::Object* ref, MemberOffset offset) const
2921 LOG(ERROR) << "Object " << obj << " references dead object " << ref << " at offset "
2922 << offset << "\n card value = " << static_cast<int>(*card_addr);
3128 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static) const
3130 mirror::Object* ref = obj->GetFieldObject<mirror::Object>(offset);
[all...]
H A Dheap.h439 MemberOffset offset ATTRIBUTE_UNUSED,
/art/runtime/gc/space/
H A Dimage_space.cc122 LOG(INFO) << "Using an offset of 0x" << std::hex << base_offset << " from default "
212 std::string base_offset_arg("--base-offset-delta=");
497 // matches) since this is only different by the offset. We need this to
759 MemberOffset offset,
764 if (offset.Uint32Value() != mirror::Object::ClassOffset().Uint32Value()) {
767 offset);
770 obj->SetFieldObjectWithoutWriteBarrier<false, true, kVerifyNone>(offset, ForwardObject(ref));
1234 // Note: The image header is part of the image due to mmap page alignment required of offset.
1276 /*offset*/0,
H A Dregion_space.h499 uintptr_t offset = reinterpret_cast<uintptr_t>(ref) - reinterpret_cast<uintptr_t>(Begin()); local
500 size_t reg_idx = offset / kRegionSize;
/art/runtime/hprof/
H A Dhprof.cc234 virtual void UpdateU4(size_t offset, uint32_t new_value ATTRIBUTE_UNUSED) { argument
235 DCHECK_LE(offset, length_ - 4);
297 void UpdateU4(size_t offset, uint32_t new_value) OVERRIDE {
298 DCHECK_LE(offset, length_ - 4);
299 buffer_[offset + 0] = static_cast<uint8_t>((new_value >> 24) & 0xFF);
300 buffer_[offset + 1] = static_cast<uint8_t>((new_value >> 16) & 0xFF);
301 buffer_[offset + 2] = static_cast<uint8_t>((new_value >> 8) & 0xFF);
302 buffer_[offset + 3] = static_cast<uint8_t>((new_value >> 0) & 0xFF);
1047 MemberOffset offset ATTRIBUTE_UNUSED,
/art/runtime/
H A Dimage.h47 ImageSection(uint32_t offset, uint32_t size) : offset_(offset), size_(size) { } argument
63 bool Contains(uint64_t offset) const {
64 return offset - offset_ < size_;
H A Dinstrumentation.cc954 int32_t offset) const {
957 listener->Branch(thread, method, dex_pc, offset);
H A Dinstrumentation.h349 void Branch(Thread* thread, ArtMethod* method, uint32_t dex_pc, int32_t offset) const
352 BranchImpl(thread, method, dex_pc, offset);
472 void BranchImpl(Thread* thread, ArtMethod* method, uint32_t dex_pc, int32_t offset) const
/art/runtime/interpreter/
H A Dinterpreter_goto_table_impl.cc67 #define BRANCH_INSTRUMENTATION(offset) \
70 instrumentation->Branch(self, method, dex_pc, offset); \
73 if (jit::Jit::MaybeDoOnStackReplacement(self, method, dex_pc, offset, &result)) { \
634 int8_t offset = inst->VRegA_10t(inst_data); local
635 BRANCH_INSTRUMENTATION(offset);
636 if (IsBackwardBranch(offset)) {
643 ADVANCE(offset);
648 int16_t offset = inst->VRegA_20t(); local
649 BRANCH_INSTRUMENTATION(offset);
650 if (IsBackwardBranch(offset)) {
662 int32_t offset = inst->VRegA_30t(); local
676 int32_t offset = DoPackedSwitch(inst, shadow_frame, inst_data); local
690 int32_t offset = DoSparseSwitch(inst, shadow_frame, inst_data); local
794 int16_t offset = inst->VRegC_22t(); local
814 int16_t offset = inst->VRegC_22t(); local
834 int16_t offset = inst->VRegC_22t(); local
854 int16_t offset = inst->VRegC_22t(); local
874 int16_t offset = inst->VRegC_22t(); local
894 int16_t offset = inst->VRegC_22t(); local
913 int16_t offset = inst->VRegB_21t(); local
932 int16_t offset = inst->VRegB_21t(); local
951 int16_t offset = inst->VRegB_21t(); local
970 int16_t offset = inst->VRegB_21t(); local
989 int16_t offset = inst->VRegB_21t(); local
1008 int16_t offset = inst->VRegB_21t(); local
[all...]
H A Dinterpreter_switch_impl.cc72 #define BRANCH_INSTRUMENTATION(offset) \
75 instrumentation->Branch(self, method, dex_pc, offset); \
78 if (jit::Jit::MaybeDoOnStackReplacement(self, method, dex_pc, offset, &result)) { \
582 int8_t offset = inst->VRegA_10t(inst_data); local
583 BRANCH_INSTRUMENTATION(offset);
584 if (IsBackwardBranch(offset)) {
588 inst = inst->RelativeAt(offset);
593 int16_t offset = inst->VRegA_20t(); local
594 BRANCH_INSTRUMENTATION(offset);
595 if (IsBackwardBranch(offset)) {
604 int32_t offset = inst->VRegA_30t(); local
615 int32_t offset = DoPackedSwitch(inst, shadow_frame, inst_data); local
626 int32_t offset = DoSparseSwitch(inst, shadow_frame, inst_data); local
731 int16_t offset = inst->VRegC_22t(); local
748 int16_t offset = inst->VRegC_22t(); local
765 int16_t offset = inst->VRegC_22t(); local
782 int16_t offset = inst->VRegC_22t(); local
799 int16_t offset = inst->VRegC_22t(); local
816 int16_t offset = inst->VRegC_22t(); local
832 int16_t offset = inst->VRegB_21t(); local
848 int16_t offset = inst->VRegB_21t(); local
864 int16_t offset = inst->VRegB_21t(); local
880 int16_t offset = inst->VRegB_21t(); local
896 int16_t offset = inst->VRegB_21t(); local
912 int16_t offset = inst->VRegB_21t(); local
[all...]
/art/runtime/interpreter/mterp/arm/
H A Dbincmp.S12 FETCH_S rINST, 1 @ rINST<- branch offset, in code units

Completed in 184 milliseconds

1234567891011