Searched defs:id (Results 1 - 25 of 31) sorted by relevance

12

/art/tools/ahat/src/
H A DSitePrinter.java25 public static void printSite(AhatSnapshot snapshot, Doc doc, Query query, String id, Site site) { argument
63 HeapTable.render(doc, query, id, table, snapshot, path);
H A DDominatedList.java38 * @param id a unique identifier to use for the dominated list in the current page
42 Doc doc, Query query, String id, Collection<Instance> instances) {
45 HeapTable.render(doc, query, id, new TableConfig(snapshot), snapshot, insts);
41 render(final AhatSnapshot snapshot, Doc doc, Query query, String id, Collection<Instance> instances) argument
H A DHeapTable.java49 * @param id - A unique identifier for the table on the page.
51 public static <T> void render(Doc doc, Query query, String id, argument
79 SubsetSelector<T> selector = new SubsetSelector(query, id, elements);
H A DSubsetSelector.java38 * @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 DAhatSnapshot.java150 public Instance findInstance(long id) { argument
151 return mSnapshot.findInstance(id);
250 // Get the site associated with the given stack id and depth.
/art/compiler/optimizing/
H A Dside_effects_analysis.cc87 uint32_t id = info->GetHeader()->GetBlockId(); local
88 loop_effects_[id] = loop_effects_[id].Union(effects);
H A Dssa_test.cc68 int id = 0; local
71 it.Current()->SetId(id++);
74 it.Current()->SetId(id++);
H A Ddead_code_elimination.cc111 int id = block->GetBlockId(); local
112 if (!live_blocks.IsBitSet(id)) {
H A Dgraph_checker.cc317 AddError(StringPrintf("Instruction id %d is duplicate in graph.",
558 int id = loop_header->GetBlockId(); local
565 id,
587 id,
594 id));
601 id,
613 id));
620 id,
627 id,
639 id,
[all...]
H A Dgraph_visualizer.cc209 void PrintProperty(const char* name, const char* property, int id) { argument
211 output_ << name << " \"" << property << id << "\"\n"; local
H A Dcode_generator.cc969 int id = location.reg(); local
970 if (slow_path != nullptr && slow_path->IsCoreRegisterSaved(id)) {
971 uint32_t offset = slow_path->GetStackOffsetOfCoreRegister(id);
980 stack_map_stream_.AddDexRegisterEntry(DexRegisterLocation::Kind::kInRegister, id);
982 stack_map_stream_.AddDexRegisterEntry(DexRegisterLocation::Kind::kInRegisterHigh, id);
991 int id = location.reg(); local
992 if (slow_path != nullptr && slow_path->IsFpuRegisterSaved(id)) {
993 uint32_t offset = slow_path->GetStackOffsetOfFpuRegister(id);
1002 stack_map_stream_.AddDexRegisterEntry(DexRegisterLocation::Kind::kInFpuRegister, id);
1005 DexRegisterLocation::Kind::kInFpuRegisterHigh, id);
[all...]
/art/runtime/jdwp/
H A Dobject_registry.h47 // The corresponding id, so we only need one map lookup in Add.
48 JDWP::ObjectId id; member in struct:art::ObjectRegistryEntry
82 template<typename T> T Get(JDWP::ObjectId id, JDWP::JdwpError* error)
84 if (id == 0) {
88 return down_cast<T>(InternalGet(id, error));
93 void DisableCollection(JDWP::ObjectId id)
96 void EnableCollection(JDWP::ObjectId id)
99 bool IsCollected(JDWP::ObjectId id)
102 void DisposeObject(JDWP::ObjectId id, uint32_t reference_count)
107 jobject GetJObject(JDWP::ObjectId id) SHARED_REQUIRE
[all...]
H A Djdwp_request.cc90 FieldId id = Read8BE(); local
91 VLOG(jdwp) << " field id " << DescribeField(id);
92 return id;
96 MethodId id = Read8BE(); local
97 VLOG(jdwp) << " method id " << DescribeMethod(id);
98 return id;
102 ObjectId id = Read8BE(); local
103 VLOG(jdwp) << StringPrintf(" %s id
124 RefTypeId id = Read8BE(); local
130 FrameId id = Read8BE(); local
[all...]
H A Dobject_registry.cc30 << ",id=" << rhs.id << "]";
100 entry->id = 0;
112 entry->id = next_id_++;
114 id_to_entry_.Put(entry->id, entry);
118 return entry->id;
170 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id, JDWP::JdwpError* error) { argument
173 auto it = id_to_entry_.find(id);
183 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { argument
184 if (id
195 DisableCollection(JDWP::ObjectId id) argument
203 EnableCollection(JDWP::ObjectId id) argument
233 IsCollected(JDWP::ObjectId id) argument
247 DisposeObject(JDWP::ObjectId id, uint32_t reference_count) argument
[all...]
H A Djdwp.h70 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd8BE(pReply, id); } argument
71 static inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd8BE(pReply, id); } argument
72 static inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, id); } argument
73 static inline void expandBufAddRefTypeId(ExpandBuf* pReply, RefTypeId id) { expandBufAdd8BE(pReply, id); } argument
74 static inline void expandBufAddFrameId(ExpandBuf* pReply, FrameId id) { expandBufAdd8BE(pReply, id); } argument
[all...]
/art/runtime/
H A Dmonitor_pool.cc74 // 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;
H A Dmonitor_pool.h34 // monitor id loses the alignment bits of the Monitor*.
134 // retrieve the id.
169 static constexpr size_t MonitorIdToOffset(MonitorId id) { argument
170 return id << 3;
188 // Chunk size that is referenced in the id. We can collapse this to the actually used storage
203 // We lose 3 bits in monitor id due to 3 bit monitor_chunks_ index, and gain it back from
206 "Monitor id bits don't fit");
221 // No field in this entire data structure is ever updated once a monitor id whose lookup
H A Dmonitor.cc99 MonitorId id)
110 monitor_id_(id) {
281 // Because of thin-locks we also cannot use the monitor id (as there is no monitor). Monitor ids
98 Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code, MonitorId id) argument
H A Dthread_list.cc870 ThreadSuspendByThreadIdWarning(WARNING, "No such thread id for suspend", thread_id);
903 ATRACE_BEGIN(StringPrintf("SuspendThreadByThreadId suspended %s id=%d",
1252 // If tracing, remember thread id and name before thread exits.
1280 // temporarily have multiple threads with the same thread id. When this occurs, it causes
1323 void ThreadList::ReleaseThreadId(Thread* self, uint32_t id) { argument
1325 --id; // Zero is reserved to mean "invalid".
1326 DCHECK(allocated_ids_[id]) << id;
1327 allocated_ids_.reset(id);
/art/profman/
H A Dprofile_assistant_test.cc29 void SetupProfile(const std::string& id, argument
36 std::string dex_location1 = "location1" + id;
38 std::string dex_location2 = "location2" + id;
/art/runtime/gc/space/
H A Dlarge_object_space_test.cc118 AllocRaceTask(size_t id, size_t iterations, size_t size, LargeObjectSpace* los) : argument
119 id_(id), iterations_(iterations), size_(size), los_(los) {}
127 NanoSleep((id_ + 3) * 1000); // (3+id) mu s
/art/test/004-ThreadStress/src/
H A DMain.java473 int id = threadStress.id;
474 System.out.println("Starting worker for " + id);
477 Thread thread = new Thread(ts, "Worker thread " + id);
484 System.out.println("Thread exited for " + id + " with "
523 Thread t = new Thread(daemon, "Daemon thread " + daemon.id);
538 protected final int id; field in class:Main
542 private Main(Object lock, int id, Operation[] operations) { argument
544 this.id = id;
573 Daemon(Object lock, int id, Operation[] operations) argument
[all...]
/art/tools/dmtracedump/
H A Dcreatetesttrace.cc99 * where the first column is the time, the second column is the thread id,
113 * In this file format, the thread id is always 1, and the time starts at
171 /* Get time and thread id */
360 uint32_t id = ++methodId << 2; local
361 pRecord->methodId = id;
363 /* Assign this id to all the other records that have the
368 if (strcmp(pRecord->fullName, pNext->fullName) == 0) pNext->methodId = id;
/art/compiler/debug/
H A Delf_debug_info_writer.h55 uint32_t id = DecodeUnsignedLeb128P1(&stream); local
56 names.push_back(mi->dex_file->StringDataByIdx(id));
/art/runtime/native/
H A Ddalvik_system_VMDebug.cc253 static void VMDebug_infopoint(JNIEnv*, jclass, jint id) { argument
254 LOG(INFO) << "VMDebug infopoint " << id << " hit";
416 static bool SetRuntimeStatValue(JNIEnv* env, jobjectArray result, VMDebugRuntimeStatId id, argument
422 env->SetObjectArrayElement(result, static_cast<jint>(id), jvalue.get());

Completed in 379 milliseconds

12