Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dgvn.cc80 size_t hash_code = HashCode(instruction); in Add() local
81 size_t index = BucketIndex(hash_code); in Add()
86 buckets_[index] = new (allocator_) Node(instruction, hash_code, buckets_[index]); in Add()
93 size_t hash_code = HashCode(instruction); in Lookup() local
94 size_t index = BucketIndex(hash_code); in Lookup()
97 if (node->GetHashCode() == hash_code) { in Lookup()
109 size_t hash_code = HashCode(instruction); in Contains() local
110 size_t index = BucketIndex(hash_code); in Contains()
148 Node(HInstruction* instruction, size_t hash_code, Node* next) in Node() argument
149 : instruction_(instruction), hash_code_(hash_code), next_(next) {} in Node()
[all …]
/art/runtime/
Dmonitor_pool.h45 static Monitor* CreateMonitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code) in CreateMonitor() argument
48 Monitor* mon = new Monitor(self, owner, obj, hash_code); in CreateMonitor()
52 return GetMonitorPool()->CreateMonitorInPool(self, owner, obj, hash_code); in CreateMonitor()
115 Monitor* CreateMonitorInPool(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code)
Dlock_word.h125 static LockWord FromHashCode(uint32_t hash_code, uint32_t rb_state) { in FromHashCode() argument
126 CHECK_LE(hash_code, static_cast<uint32_t>(kMaxHash)); in FromHashCode()
128 return LockWord((hash_code << kHashShift) | in FromHashCode()
Dmonitor.h129 uint32_t hash_code) NO_THREAD_SAFETY_ANALYSIS;
151 explicit Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code)
153 explicit Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code,
174 static void Inflate(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code)
Dmonitor_pool.cc92 int32_t hash_code) in CreateMonitorInPool() argument
110 Monitor* monitor = new(mon_uninitialized) Monitor(self, owner, obj, hash_code, id); in CreateMonitorInPool()
Dmonitor.cc87 Monitor::Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code) in Monitor() argument
95 hash_code_(hash_code), in Monitor()
109 Monitor::Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code, in Monitor() argument
118 hash_code_(hash_code), in Monitor()
637 void Monitor::Inflate(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code) { in Inflate() argument
641 Monitor* m = MonitorPool::CreateMonitor(self, owner, obj, hash_code); in Inflate()
648 VLOG(monitor) << "monitor: Inflate with hashcode " << hash_code in Inflate()
659 uint32_t hash_code) { in InflateThinLocked() argument
664 Inflate(self, self, obj.Get(), hash_code); in InflateThinLocked()
681 Inflate(self, owner, obj.Get(), hash_code); in InflateThinLocked()
Ddebugger.cc114 const int32_t hash_code = soa.Decode<mirror::Class*>(local_ref.get())->IdentityHashCode(); in Add() local
115 auto range = objects_.equal_range(hash_code); in Add()
123 objects_.insert(std::make_pair(hash_code, weak_global)); in Add()
/art/runtime/mirror/
Dstring.cc67 const int32_t hash_code = ComputeUtf16Hash(GetValue(), GetLength()); in ComputeHashCode() local
68 SetHashCode(hash_code); in ComputeHashCode()
69 return hash_code; in ComputeHashCode()
Dobject_test.cc743 int32_t hash_code = mirror::Object::GenerateIdentityHashCode(); in TEST_F() local
744 EXPECT_NE(hash_code, 0); in TEST_F()
/art/runtime/jdwp/
Dobject_registry.cc260 int32_t hash_code = entry->identity_hash_code; in DisposeObject() local
261 for (auto inner_it = object_to_entry_.lower_bound(hash_code), end = object_to_entry_.end(); in DisposeObject()
262 inner_it != end && inner_it->first == hash_code; ++inner_it) { in DisposeObject()