/art/compiler/optimizing/ |
D | gvn.cc | 86 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/ |
D | monitor_pool.h | 48 int32_t hash_code) in CreateMonitor() argument 51 Monitor* mon = new Monitor(self, owner, obj, hash_code); in CreateMonitor() 55 return GetMonitorPool()->CreateMonitorInPool(self, owner, obj, hash_code); in CreateMonitor() 131 int32_t hash_code)
|
D | lock_word.h | 154 static LockWord FromHashCode(uint32_t hash_code, uint32_t gc_state) { in FromHashCode() argument 155 CHECK_LE(hash_code, static_cast<uint32_t>(kMaxHash)); in FromHashCode() 157 return LockWord((hash_code << kHashShift) | in FromHashCode()
|
D | monitor_pool.cc | 111 int32_t hash_code) in CreateMonitorInPool() argument 129 Monitor* monitor = new(mon_uninitialized) Monitor(self, owner, obj, hash_code, id); in CreateMonitorInPool()
|
D | monitor.h | 150 uint32_t hash_code) REQUIRES_SHARED(Locks::mutator_lock_); 173 Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code) 175 Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code, MonitorId id) 198 static void Inflate(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code)
|
D | monitor.cc | 92 Monitor::Monitor(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code) in Monitor() argument 101 hash_code_(hash_code), in Monitor() 118 int32_t hash_code, in Monitor() argument 128 hash_code_(hash_code), in Monitor() 1013 void Monitor::Inflate(Thread* self, Thread* owner, ObjPtr<mirror::Object> obj, int32_t hash_code) { in Inflate() argument 1017 Monitor* m = MonitorPool::CreateMonitor(self, owner, obj, hash_code); in Inflate() 1024 VLOG(monitor) << "monitor: Inflate with hashcode " << hash_code in Inflate() 1035 uint32_t hash_code) { in InflateThinLocked() argument 1040 Inflate(self, self, obj.Get(), hash_code); in InflateThinLocked() 1059 Inflate(self, owner, obj.Get(), hash_code); in InflateThinLocked()
|
/art/runtime/mirror/ |
D | string.cc | 52 int32_t hash_code = 0; in ComputeHashCode() local 54 hash_code = ComputeUtf16Hash(GetValueCompressed(), GetLength()); in ComputeHashCode() 56 hash_code = ComputeUtf16Hash(GetValue(), GetLength()); in ComputeHashCode() 58 SetHashCode(hash_code); in ComputeHashCode() 59 return hash_code; in ComputeHashCode()
|
D | object_test.cc | 746 int32_t hash_code = mirror::Object::GenerateIdentityHashCode(); in TEST_F() local 747 EXPECT_NE(hash_code, 0); in TEST_F()
|
/art/runtime/jdwp/ |
D | object_registry.cc | 269 int32_t hash_code = entry->identity_hash_code; in DisposeObject() local 270 for (auto inner_it = object_to_entry_.lower_bound(hash_code), end = object_to_entry_.end(); in DisposeObject() 271 inner_it != end && inner_it->first == hash_code; ++inner_it) { in DisposeObject()
|