Searched refs:LoadRelaxed (Results 1 - 25 of 30) sorted by relevance

12

/art/runtime/gc/accounting/
H A Datomic_stack.h98 index = back_index_.LoadRelaxed();
129 const int32_t index = back_index_.LoadRelaxed();
136 DCHECK_GT(back_index_.LoadRelaxed(), front_index_.LoadRelaxed());
138 back_index_.StoreRelaxed(back_index_.LoadRelaxed() - 1);
139 return begin_[back_index_.LoadRelaxed()].AsMirrorPtr();
144 int32_t index = front_index_.LoadRelaxed();
145 DCHECK_LT(index, back_index_.LoadRelaxed());
165 DCHECK_LE(front_index_.LoadRelaxed(), back_index_.LoadRelaxed());
[all...]
H A Dspace_bitmap-inl.h43 old_word = atomic_entry->LoadRelaxed();
61 return (bitmap_begin_[OffsetToIndex(offset)].LoadRelaxed() & OffsetToMask(offset)) != 0;
119 uintptr_t w = bitmap_begin_[i].LoadRelaxed();
168 uintptr_t old_word = atomic_entry->LoadRelaxed();
H A Dspace_bitmap.cc135 dest[i].StoreRelaxed(src[i].LoadRelaxed());
147 uintptr_t w = bitmap_begin[i].LoadRelaxed();
195 uintptr_t garbage = live[i].LoadRelaxed() & ~mark[i].LoadRelaxed();
H A Dbitmap-inl.h39 old_word = atomic_entry->LoadRelaxed();
H A Dcard_table-inl.h44 const uintptr_t cur_word = word_atomic->LoadRelaxed() &
/art/runtime/
H A Dbarrier_test.cc72 while (count1.LoadRelaxed() != num_threads) {
76 EXPECT_EQ(0, count2.LoadRelaxed());
82 EXPECT_EQ(count1.LoadRelaxed(), num_threads);
83 EXPECT_EQ(count2.LoadRelaxed(), num_threads);
127 EXPECT_EQ(count.LoadRelaxed(), expected_total_tasks);
H A Dclass_table-inl.h89 const uint32_t before = data_.LoadRelaxed();
103 const uint32_t before = data_.LoadRelaxed();
H A Dclass_table.h49 TableSlot(const TableSlot& copy) : data_(copy.data_.LoadRelaxed()) {}
56 data_.StoreRelaxed(copy.data_.LoadRelaxed());
65 return MaskHash(data_.LoadRelaxed());
H A Datomic.h195 T LoadRelaxed() const { function
H A Dmonitor.h125 return hash_code_.LoadRelaxed() != 0;
H A Dtrace.cc662 final_offset = cur_offset_.LoadRelaxed();
872 int32_t old_offset = cur_offset_.LoadRelaxed();
898 int32_t offset = cur_offset_.LoadRelaxed();
918 old_offset = cur_offset_.LoadRelaxed();
/art/runtime/gc/space/
H A Dbump_pointer_space-inl.h48 uint8_t* end = end_.LoadRelaxed();
56 objects_allocated_.StoreRelaxed(objects_allocated_.LoadRelaxed() + 1);
57 bytes_allocated_.StoreRelaxed(bytes_allocated_.LoadRelaxed() + num_bytes);
70 old_end = end_.LoadRelaxed();
H A Dregion_space.h307 DCHECK_EQ(objects_allocated_.LoadRelaxed(), 0U);
427 DCHECK_EQ(objects_allocated_.LoadRelaxed(), 0U);
431 DCHECK_EQ(objects_allocated_.LoadRelaxed(), 0U);
444 return top_.LoadRelaxed();
463 DCHECK_EQ(objects_allocated_.LoadRelaxed(), 0U);
H A Dbump_pointer_space.cc215 uint64_t total = static_cast<uint64_t>(bytes_allocated_.LoadRelaxed());
233 uint64_t total = static_cast<uint64_t>(objects_allocated_.LoadRelaxed());
H A Dspace.h276 return end_.LoadRelaxed();
H A Dregion_space-inl.h123 old_top = top_.LoadRelaxed();
/art/runtime/base/
H A Dallocator.cc85 uint64_t bytes_used = g_bytes_used[i].LoadRelaxed();
87 uint64_t total_bytes_used = g_total_bytes_used[i].LoadRelaxed();
H A Dmutex-inl.h134 int32_t cur_state = state_.LoadRelaxed();
158 int32_t cur_state = state_.LoadRelaxed();
166 if (num_pending_writers_.LoadRelaxed() > 0 ||
167 num_pending_readers_.LoadRelaxed() > 0) {
211 int32_t state = state_.LoadRelaxed();
H A Dmutex.cc266 uint32_t slot = data->cur_content_log_entry.LoadRelaxed();
273 slot = data->cur_content_log_entry.LoadRelaxed();
287 uint64_t wait_time = data->wait_time.LoadRelaxed();
288 uint32_t contention_count = data->contention_count.LoadRelaxed();
300 uint32_t count = log[i].count.LoadRelaxed();
346 DCHECK_EQ(0, state_.LoadRelaxed());
347 DCHECK_EQ(0, num_contenders_.LoadRelaxed());
363 if (state_.LoadRelaxed() != 0) {
397 int32_t cur_state = state_.LoadRelaxed();
418 DCHECK_EQ(state_.LoadRelaxed(),
[all...]
/art/compiler/utils/
H A Datomic_method_ref_map-inl.h47 *out = (*array)[ref.dex_method_index].LoadRelaxed();
76 visitor(MethodReference(dex_file, i), elements[i].LoadRelaxed());
/art/runtime/gc/collector/
H A Dconcurrent_copying-inl.h78 updated_all_immune_objects_.LoadRelaxed() ||
84 if (!kGrayImmuneObject || updated_all_immune_objects_.LoadRelaxed()) {
H A Dmark_sweep.cc704 static_cast<uintptr_t>(mark_sweep_->atomic_finger_.LoadRelaxed())) {
1442 << " no reference objects=" << no_reference_class_count_.LoadRelaxed()
1443 << " normal objects=" << normal_count_.LoadRelaxed()
1444 << " classes=" << class_count_.LoadRelaxed()
1445 << " object arrays=" << object_array_count_.LoadRelaxed()
1446 << " references=" << reference_count_.LoadRelaxed()
1447 << " other=" << other_count_.LoadRelaxed();
1450 VLOG(gc) << "Total number of work chunks allocated: " << work_chunks_created_.LoadRelaxed();
1453 VLOG(gc) << "Overhead time " << PrettyDuration(overhead_time_.LoadRelaxed());
1456 VLOG(gc) << "Large objects tested " << large_object_test_.LoadRelaxed()
[all...]
H A Dconcurrent_copying.cc959 CHECK_EQ(is_mark_stack_push_disallowed_.LoadRelaxed(), 0)
963 MarkStackMode mark_stack_mode = mark_stack_mode_.LoadRelaxed();
1341 MarkStackMode mark_stack_mode = mark_stack_mode_.LoadRelaxed();
1518 MarkStackMode before_mark_stack_mode = mark_stack_mode_.LoadRelaxed();
1536 MarkStackMode before_mark_stack_mode = mark_stack_mode_.LoadRelaxed();
1551 MarkStackMode mark_stack_mode = mark_stack_mode_.LoadRelaxed();
1999 if (expected_ref != addr->LoadRelaxed()) {
2018 if (ref != addr->LoadRelaxed().AsMirrorPtr()) {
2515 rb_slow_path_time_histogram_.AdjustAndAddValue(rb_slow_path_ns_.LoadRelaxed());
2516 rb_slow_path_count_total_ += rb_slow_path_count_.LoadRelaxed();
[all...]
/art/runtime/mirror/
H A Dobject.cc90 reinterpret_cast<Atomic<uintptr_t>*>(src_bytes)->LoadRelaxed());
98 reinterpret_cast<Atomic<uint32_t>*>(src_bytes)->LoadRelaxed());
107 reinterpret_cast<Atomic<uint8_t>*>(src_bytes)->LoadRelaxed());
175 expected_value = hash_code_seed.LoadRelaxed();
/art/runtime/gc/
H A Dheap.cc1141 << old_native_bytes_allocated_.LoadRelaxed() + new_native_bytes_allocated_.LoadRelaxed()
1231 if (unique_backtrace_count_.LoadRelaxed() != 0 || seen_backtrace_count_.LoadRelaxed() != 0) {
1232 LOG(INFO) << "gc stress unique=" << unique_backtrace_count_.LoadRelaxed()
1233 << " total=" << seen_backtrace_count_.LoadRelaxed() +
1234 unique_backtrace_count_.LoadRelaxed();
1581 if (UNLIKELY(static_cast<size_t>(num_bytes_allocated_.LoadRelaxed()) < 10 * KB)) {
1609 DCHECK_LE(freed_bytes, static_cast<int64_t>(num_bytes_allocated_.LoadRelaxed()));
3857 CHECK_GE(num_bytes_allocated_.LoadRelaxed(), num_bytes_freed_revoke
[all...]

Completed in 429 milliseconds

12