Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dgvn.cc86 size_t hash_code = HashCode(instruction); in Add() local
87 size_t index = BucketIndex(hash_code); in Add()
92 buckets_[index] = new (allocator_) Node(instruction, hash_code, buckets_[index]); in Add()
99 size_t hash_code = HashCode(instruction); in Lookup() local
100 size_t index = BucketIndex(hash_code); in Lookup()
103 if (node->GetHashCode() == hash_code) { in Lookup()
115 size_t hash_code = HashCode(instruction); in Contains() local
116 size_t index = BucketIndex(hash_code); in Contains()
188 Node(HInstruction* instruction, size_t hash_code, Node* next) in Node() argument
189 : instruction_(instruction), hash_code_(hash_code), next_(next) {} in Node()
[all …]
/art/runtime/
Dmonitor_pool.h49 int32_t hash_code) in CreateMonitor() argument
52 Monitor* mon = new Monitor(self, owner, obj, hash_code); in CreateMonitor()
56 return GetMonitorPool()->CreateMonitorInPool(self, owner, obj, hash_code); in CreateMonitor()
132 int32_t hash_code)
Dlock_word.h157 static LockWord FromHashCode(uint32_t hash_code, uint32_t gc_state) { in FromHashCode() argument
158 CHECK_LE(hash_code, static_cast<uint32_t>(kMaxHash)); in FromHashCode()
160 return LockWord((hash_code << kHashShift) | in FromHashCode()
Dmonitor_pool.cc111 int32_t hash_code) in CreateMonitorInPool() argument
129 Monitor* monitor = new(mon_uninitialized) Monitor(self, owner, obj, hash_code, id); in CreateMonitorInPool()
Dmonitor.h165 uint32_t hash_code,
189 Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code)
191 Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code, MonitorId id)
217 static void Inflate(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code)
Dmonitor.cc97 Monitor::Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code) in Monitor() argument
105 hash_code_(hash_code), in Monitor()
130 int32_t hash_code, in Monitor() argument
139 hash_code_(hash_code), in Monitor()
1038 void Monitor::Inflate(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code) { in Inflate() argument
1042 Monitor* m = MonitorPool::CreateMonitor(self, owner, obj, hash_code); in Inflate()
1049 VLOG(monitor) << "monitor: Inflate with hashcode " << hash_code in Inflate()
1062 uint32_t hash_code, in InflateThinLocked() argument
1068 Inflate(self, self, obj.Get(), hash_code); in InflateThinLocked()
1085 Inflate(self, owner, obj.Get(), hash_code); in InflateThinLocked()
Dthread.cc2266 int32_t hash_code; in PrintObject() local
2268 hash_code = obj->IdentityHashCodeNoInflation(); in PrintObject()
2269 if (hash_code != 0 || i == kNumRetries) { in PrintObject()
2274 if (hash_code == 0) { in PrintObject()
2281 os << msg << StringPrintf("<0x%08x> (a %s)", hash_code, pretty_type.c_str()); in PrintObject()
/art/runtime/mirror/
Dobject_test.cc791 int32_t hash_code = mirror::Object::GenerateIdentityHashCode(); in TEST_F() local
792 EXPECT_NE(hash_code, 0); in TEST_F()