/art/test/923-monitors/src/art/ |
H A D | Test923.java | 49 private static void simpleTests(long id) { argument 50 unlock(id); // Should fail. 52 lock(id); 53 unlock(id); 54 unlock(id); // Should fail. 56 lock(id); 57 lock(id); 58 unlock(id); 59 unlock(id); 60 unlock(id); // Shoul 84 threadTests(final long id) argument 215 lock(long id) argument 220 unlock(long id) argument 229 rawWait(long id, long millis) argument 238 rawNotify(long id) argument 247 rawNotifyAll(long id) argument 292 destroyRawMonitor(long id) argument 293 rawMonitorEnter(long id) argument 294 rawMonitorExit(long id) argument 295 rawMonitorWait(long id, long millis) argument 296 rawMonitorNotify(long id) argument 297 rawMonitorNotifyAll(long id) argument [all...] |
/art/runtime/jdwp/ |
H A D | jdwp_request.cc | 91 FieldId id = Read8BE(); local 92 VLOG(jdwp) << " field id " << DescribeField(id); 93 return id; 97 MethodId id = Read8BE(); local 98 VLOG(jdwp) << " method id " << DescribeMethod(id); 99 return id; 103 ObjectId id = Read8BE(); local 104 VLOG(jdwp) << android::base::StringPrintf(" %s id 125 RefTypeId id = Read8BE(); local 131 FrameId id = Read8BE(); local [all...] |
H A D | object_registry.h | 48 // The corresponding id, so we only need one map lookup in Add. 49 JDWP::ObjectId id; member in struct:art::ObjectRegistryEntry 84 template<typename T> T Get(JDWP::ObjectId id, JDWP::JdwpError* error) 86 if (id == 0) { 90 return down_cast<T>(InternalGet(id, error)); 95 void DisableCollection(JDWP::ObjectId id) 98 void EnableCollection(JDWP::ObjectId id) 101 bool IsCollected(JDWP::ObjectId id) 104 void DisposeObject(JDWP::ObjectId id, uint32_t reference_count) 109 jobject GetJObject(JDWP::ObjectId id) REQUIRES_SHARE [all...] |
H A D | object_registry.cc | 32 << ",id=" << rhs.id << "]"; 107 entry->id = 0; 119 entry->id = next_id_++; 121 id_to_entry_.Put(entry->id, entry); 125 return entry->id; 179 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id, JDWP::JdwpError* error) { argument 182 auto it = id_to_entry_.find(id); 192 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { argument 193 if (id 204 DisableCollection(JDWP::ObjectId id) argument 212 EnableCollection(JDWP::ObjectId id) argument 242 IsCollected(JDWP::ObjectId id) argument 256 DisposeObject(JDWP::ObjectId id, uint32_t reference_count) argument [all...] |
H A D | jdwp.h | 71 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd8BE(pReply, id); } argument 72 static inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd8BE(pReply, id); } argument 73 static inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, id); } argument 74 static inline void expandBufAddRefTypeId(ExpandBuf* pReply, RefTypeId id) { expandBufAdd8BE(pReply, id); } argument 75 static inline void expandBufAddFrameId(ExpandBuf* pReply, FrameId id) { expandBufAdd8BE(pReply, id); } argument [all...] |
/art/test/910-methods/ |
H A D | methods.cc | 35 jmethodID id = env->FromReflectedMethod(method); local 40 jvmtiError result = jvmti_env->GetMethodName(id, &name, &sig, &gen); 68 jvmtiError result2 = jvmti_env->GetMethodName(id, nullptr, nullptr, nullptr); 78 jmethodID id = env->FromReflectedMethod(method); local 81 jvmtiError result = jvmti_env->GetMethodDeclaringClass(id, &declaring_class); 91 jmethodID id = env->FromReflectedMethod(method); local 94 jvmtiError result = jvmti_env->GetMethodModifiers(id, &modifiers); 104 jmethodID id = env->FromReflectedMethod(method); local 107 jvmtiError result = jvmti_env->GetMaxLocals(id, &max_locals); 117 jmethodID id local 130 jmethodID id = env->FromReflectedMethod(method); local 144 jmethodID id = env->FromReflectedMethod(method); local 158 jmethodID id = env->FromReflectedMethod(method); local 171 jmethodID id = env->FromReflectedMethod(method); local 184 jmethodID id = env->FromReflectedMethod(method); local [all...] |
/art/test/918-fields/ |
H A D | fields.cc | 33 jfieldID id = env->FromReflectedField(field); local 39 jvmtiError result = jvmti_env->GetFieldName(klass, id, &name, &sig, &gen); 71 jvmtiError result2 = jvmti_env->GetFieldName(klass, id, nullptr, nullptr, nullptr); 85 jfieldID id = env->FromReflectedField(field); local 88 jvmtiError result = jvmti_env->GetFieldDeclaringClass(klass, id, &declaring_class); 102 jfieldID id = env->FromReflectedField(field); local 105 jvmtiError result = jvmti_env->GetFieldModifiers(klass, id, &modifiers); 119 jfieldID id = env->FromReflectedField(field); local 122 jvmtiError result = jvmti_env->IsFieldSynthetic(klass, id, &synth);
|
/art/runtime/openjdkjvmti/ |
H A D | ti_monitor.cc | 180 static JvmtiMonitor* DecodeMonitor(jrawMonitorID id) { 181 return reinterpret_cast<JvmtiMonitor*>(id); 197 jvmtiError MonitorUtil::DestroyRawMonitor(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { 198 if (id == nullptr) { 202 JvmtiMonitor* monitor = DecodeMonitor(id); 212 jvmtiError MonitorUtil::RawMonitorEnter(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { 213 if (id == nullptr) { 217 JvmtiMonitor* monitor = DecodeMonitor(id); 225 jvmtiError MonitorUtil::RawMonitorExit(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { 226 if (id [all...] |
/art/test/923-monitors/ |
H A D | monitors.cc | 32 static jlong MonitorToLong(jrawMonitorID id) { argument 33 return static_cast<jlong>(reinterpret_cast<uintptr_t>(id)); 42 jrawMonitorID id; local 43 jvmtiError result = jvmti_env->CreateRawMonitor("dummy", &id); 47 return MonitorToLong(id);
|
/art/tools/ahat/src/ |
H A D | SubsetSelector.java | 38 * @param id - the name of the query parameter key that should hold 46 public SubsetSelector(Query query, String id, List<T> elements) { argument 48 mId = id; 49 mLimit = getSelectedLimit(query, id, elements.size()); 69 private static int getSelectedLimit(Query query, String id, int size) { argument 70 String value = query.get(id, null);
|
H A D | BitmapHandler.java | 40 long id = query.getLong("id", 0); 42 AhatInstance inst = mSnapshot.findInstance(id);
|
H A D | DominatedList.java | 40 * @param id a unique identifier to use for the dominated list in the current page 44 Doc doc, Query query, String id, Collection<AhatInstance> instances) { 47 HeapTable.render(doc, query, id, new TableConfig(), snapshot, insts); 43 render(final AhatSnapshot snapshot, Doc doc, Query query, String id, Collection<AhatInstance> instances) argument
|
H A D | SitePrinter.java | 27 public static void printSite(AhatSnapshot snapshot, Doc doc, Query query, String id, Site site) { argument 61 HeapTable.render(doc, query, id, table, snapshot, path);
|
H A D | ObjectsHandler.java | 39 int id = query.getInt("id", 0); 43 Site site = mSnapshot.getSite(id, depth);
|
H A D | SiteHandler.java | 41 int id = query.getInt("id", 0); 43 Site site = mSnapshot.getSite(id, depth); 107 DocString.formattedUri("objects?id=%d&depth=%d&heap=%s&class=%s",
|
/art/compiler/optimizing/ |
H A D | side_effects_analysis.cc | 84 uint32_t id = info->GetHeader()->GetBlockId(); local 85 loop_effects_[id] = loop_effects_[id].Union(effects);
|
H A D | scheduler.cc | 207 std::string id; local 210 id.append("l"); 212 id.append(Primitive::Descriptor(instruction->GetType())); 215 id[0] = std::tolower(id[0]); 216 id.append(std::to_string(instruction->GetId())); 217 return id; 224 // Use the instruction typed id as the node identifier.
|
/art/tools/ahat/src/heapdump/ |
H A D | AhatSnapshot.java | 47 // List of all ahat instances stored in increasing order by id. 99 // Create mappings from id to ahat instance and heaps. 109 long id = inst.getId(); 111 mInstances.add(new AhatClassInstance(id)); 113 mInstances.add(new AhatArrayInstance(id)); 115 AhatClassObj classObj = new AhatClassObj(id); 128 // Sort the instances by id so we can use binary search to lookup 129 // instances by id. 172 * Returns the instance with given id in this snapshot. 173 * Returns null if no instance with the given id i 175 findInstance(long id) argument 198 findClassObj(long id) argument 253 getSite(int id, int depth) argument [all...] |
H A D | AhatClassObj.java | 33 public AhatClassObj(long id) { argument 34 super(id);
|
/art/test/004-ThreadStress/src/ |
H A D | Main.java | 487 int id = threadStress.id; 489 System.out.println("Starting worker for " + id); 495 Thread thread = new Thread(ts, "Worker thread " + id); 501 "Thread exited for " + id + " with " + 545 Thread t = new Thread(daemon, "Daemon thread " + daemon.id); 563 protected final int id; field in class:Main 567 private Main(Object lock, int id, Operation[] operations) { argument 569 this.id = id; 598 Daemon(Object lock, int id, Operation[] operations, Thread mainThread, Barrier startBarrier) argument [all...] |
/art/runtime/ |
H A D | monitor_pool.cc | 74 // Eagerly compute id. 123 // Pull out the id which was preinitialized. 124 MonitorId id = mon_uninitialized->monitor_id_; local 127 Monitor* monitor = new(mon_uninitialized) Monitor(self, owner, obj, hash_code, id); 136 // Keep the monitor id. Don't trust it's not cleared. 137 MonitorId id = monitor->monitor_id_; local 147 // Rewrite monitor id. 148 monitor->monitor_id_ = id;
|
/art/runtime/verifier/ |
H A D | reg_type_cache-inl.h | 30 inline const art::verifier::RegType& RegTypeCache::GetFromId(uint16_t id) const { 31 DCHECK_LT(id, entries_.size()); 32 const RegType* result = entries_[id];
|
/art/test/common/ |
H A D | stack_inspect.cc | 115 jmethodID id = env->FromReflectedMethod(method); local 116 if (id == nullptr) { 124 ArtMethod* goal = jni::DecodeArtMethod(id);
|
/art/tools/jfuzz/ |
H A D | run_jfuzz_test.py | 85 def id(self): member in class:TestRunner 90 return self.id + '_out.txt' 152 def id(self): member in class:TestRunnerRIOnHost 207 def id(self): member in class:TestRunnerArtIntOnHost 230 def id(self): member in class:TestRunnerArtOptOnHost 298 def id(self): member in class:TestRunnerArtIntOnTarget 322 def id(self): member in class:TestRunnerArtOptOnTarget 567 self._runner1.id) 570 self._runner2.id)
|
/art/dexdump/ |
H A D | dexdump_cfg.cc | 84 uint32_t id = dex_pc_to_node_id.size(); local 85 if (id > 0) { 90 os << " node" << id << " [shape=record,label=\"{"; local 91 dex_pc_to_node_id.insert(std::make_pair(dex_pc, id));
|