/art/test/923-monitors/src/art/ |
D | Test923.java | 49 private static void simpleTests(long id) { in simpleTests() argument 50 unlock(id); // Should fail. in simpleTests() 52 lock(id); in simpleTests() 53 unlock(id); in simpleTests() 54 unlock(id); // Should fail. in simpleTests() 56 lock(id); in simpleTests() 57 lock(id); in simpleTests() 58 unlock(id); in simpleTests() 59 unlock(id); in simpleTests() 60 unlock(id); // Should fail. in simpleTests() [all …]
|
/art/test/910-methods/ |
D | methods.cc | 35 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getMethodName() local 40 jvmtiError result = jvmti_env->GetMethodName(id, &name, &sig, &gen); in Java_art_Test910_getMethodName() 68 jvmtiError result2 = jvmti_env->GetMethodName(id, nullptr, nullptr, nullptr); in Java_art_Test910_getMethodName() 78 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getMethodDeclaringClass() local 81 jvmtiError result = jvmti_env->GetMethodDeclaringClass(id, &declaring_class); in Java_art_Test910_getMethodDeclaringClass() 91 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getMethodModifiers() local 94 jvmtiError result = jvmti_env->GetMethodModifiers(id, &modifiers); in Java_art_Test910_getMethodModifiers() 104 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getMaxLocals() local 107 jvmtiError result = jvmti_env->GetMaxLocals(id, &max_locals); in Java_art_Test910_getMaxLocals() 117 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getArgumentsSize() local [all …]
|
/art/runtime/jdwp/ |
D | jdwp_request.cc | 91 FieldId id = Read8BE(); in ReadFieldId() local 92 VLOG(jdwp) << " field id " << DescribeField(id); in ReadFieldId() 93 return id; in ReadFieldId() 97 MethodId id = Read8BE(); in ReadMethodId() local 98 VLOG(jdwp) << " method id " << DescribeMethod(id); in ReadMethodId() 99 return id; in ReadMethodId() 103 ObjectId id = Read8BE(); in ReadObjectId() local 104 VLOG(jdwp) << android::base::StringPrintf(" %s id %#" PRIx64, specific_kind, id); in ReadObjectId() 105 return id; in ReadObjectId() 125 RefTypeId id = Read8BE(); in ReadRefTypeId() local [all …]
|
D | object_registry.cc | 32 << ",id=" << rhs.id << "]"; in operator <<() 107 entry->id = 0; in InternalAdd() 119 entry->id = next_id_++; in InternalAdd() 121 id_to_entry_.Put(entry->id, entry); in InternalAdd() 125 return entry->id; in InternalAdd() 179 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id, JDWP::JdwpError* error) { in InternalGet() argument 182 auto it = id_to_entry_.find(id); in InternalGet() 192 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { in GetJObject() argument 193 if (id == 0) { in GetJObject() 198 auto it = id_to_entry_.find(id); in GetJObject() [all …]
|
D | object_registry.h | 49 JDWP::ObjectId id; member 84 template<typename T> T Get(JDWP::ObjectId id, JDWP::JdwpError* error) in Get() argument 86 if (id == 0) { in Get() 90 return down_cast<T>(InternalGet(id, error)); in Get() 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_SHARED(Locks::mutator_lock_) REQUIRES(!lock_); 117 mirror::Object* InternalGet(JDWP::ObjectId id, JDWP::JdwpError* error)
|
D | jdwp.h | 72 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd8BE(pReply, id)… in expandBufAddFieldId() argument 73 …c inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd8BE(pReply, id); } in expandBufAddMethodId() argument 74 …c inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, id); } in expandBufAddObjectId() argument 75 …inline void expandBufAddRefTypeId(ExpandBuf* pReply, RefTypeId id) { expandBufAdd8BE(pReply, id); } in expandBufAddRefTypeId() argument 76 static inline void expandBufAddFrameId(ExpandBuf* pReply, FrameId id) { expandBufAdd8BE(pReply, id)… in expandBufAddFrameId() argument
|
/art/tools/luci/config/ |
D | luci-scheduler.cfg | 20 id: "master-gitiles-trigger" 57 id: "angler-armv7-debug" 67 id: "angler-armv7-non-gen-cc" 77 id: "angler-armv7-ndebug" 87 id: "angler-armv8-debug" 97 id: "angler-armv8-non-gen-cc" 107 id: "angler-armv8-ndebug" 117 id: "aosp-builder-cc" 127 id: "aosp-builder-cms" 137 id: "bullhead-armv7-gcstress-ndebug" [all …]
|
/art/openjdkjvmti/ |
D | ti_monitor.cc | 224 static JvmtiMonitor* DecodeMonitor(jrawMonitorID id) { in DecodeMonitor() argument 225 return reinterpret_cast<JvmtiMonitor*>(id); in DecodeMonitor() 241 jvmtiError MonitorUtil::DestroyRawMonitor(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { in DestroyRawMonitor() argument 242 if (id == nullptr) { in DestroyRawMonitor() 246 JvmtiMonitor* monitor = DecodeMonitor(id); in DestroyRawMonitor() 256 jvmtiError MonitorUtil::RawMonitorEnterNoSuspend(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { in RawMonitorEnterNoSuspend() argument 257 if (id == nullptr) { in RawMonitorEnterNoSuspend() 261 JvmtiMonitor* monitor = DecodeMonitor(id); in RawMonitorEnterNoSuspend() 269 jvmtiError MonitorUtil::RawMonitorEnter(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { in RawMonitorEnter() argument 270 if (id == nullptr) { in RawMonitorEnter() [all …]
|
/art/tools/ahat/src/main/com/android/ahat/dominators/ |
D | Dominators.java | 137 public long id; field in Dominators.NodeS 192 public void add(long id) { in add() argument 196 ids[size++] = id; in add() 282 long id = 0; in computeDominators() local 293 rootS.id = id++; in computeDominators() 317 link.srcS.maxReachableId = id - 1; in computeDominators() 328 dstS.id = id++; in computeDominators() 329 dstS.inRefIds.add(link.srcS.id); in computeDominators() 347 dstS.inRefIds.add(link.srcS.id); in computeDominators() 352 while (xS.id > seenid) { in computeDominators() [all …]
|
/art/test/913-heaps/ |
D | expected.txt | 3 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=124, length=… 4 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=8,location… 5 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=124,… 46 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 1@1000 [size=16, length=-… 47 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=124, length=… 48 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=10,location= … 49 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=5,location= 8… 50 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestRoot,vreg=13,location= … 51 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestRoot,vreg=4,location= 2… 52 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=124,… [all …]
|
/art/test/918-fields/ |
D | fields.cc | 33 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_getFieldName() local 39 jvmtiError result = jvmti_env->GetFieldName(klass, id, &name, &sig, &gen); in Java_art_Test918_getFieldName() 71 jvmtiError result2 = jvmti_env->GetFieldName(klass, id, nullptr, nullptr, nullptr); in Java_art_Test918_getFieldName() 85 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_getFieldDeclaringClass() local 88 jvmtiError result = jvmti_env->GetFieldDeclaringClass(klass, id, &declaring_class); in Java_art_Test918_getFieldDeclaringClass() 102 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_getFieldModifiers() local 105 jvmtiError result = jvmti_env->GetFieldModifiers(klass, id, &modifiers); in Java_art_Test918_getFieldModifiers() 119 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_isFieldSynthetic() local 122 jvmtiError result = jvmti_env->IsFieldSynthetic(klass, id, &synth); in Java_art_Test918_isFieldSynthetic()
|
/art/test/1913-get-set-local-objects/src/art/ |
D | Test1913.java | 40 public String id; field in Test1913.TestClass1 41 public TestClass1(String id) { this.id = id; } in TestClass1() argument 42 public String toString() { return String.format("TestClass1(\"%s\")", id); } in toString() 46 public TestClass1ext(String id) { super(id); } in TestClass1ext() argument 50 public String id; field in Test1913.TestClass2 51 public TestClass2(String id) { this.id = id; } in TestClass2() argument 52 public String toString() { return String.format("TestClass2(\"%s\")", id); } in toString() 55 public TestClass2impl(String id) { super(id); } in TestClass2impl() argument
|
/art/test/923-monitors/ |
D | monitors.cc | 32 static jlong MonitorToLong(jrawMonitorID id) { in MonitorToLong() argument 33 return static_cast<jlong>(reinterpret_cast<uintptr_t>(id)); in MonitorToLong() 42 jrawMonitorID id; in Java_art_Test923_createRawMonitor() local 43 jvmtiError result = jvmti_env->CreateRawMonitor("dummy", &id); in Java_art_Test923_createRawMonitor() 47 return MonitorToLong(id); in Java_art_Test923_createRawMonitor()
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | SubsetSelector.java | 46 public SubsetSelector(Query query, String id, List<T> elements) { in SubsetSelector() argument 48 mId = id; in SubsetSelector() 49 mLimit = getSelectedLimit(query, id, elements.size()); in SubsetSelector() 69 private static int getSelectedLimit(Query query, String id, int size) { in getSelectedLimit() argument 70 String value = query.get(id, null); in getSelectedLimit()
|
/art/test/1934-jvmti-signal-thread/ |
D | signal_threads.cc | 71 jlong id) { in Java_art_Test1934_nativeWaitForOtherThread() argument 72 NativeMonitor* mon = reinterpret_cast<NativeMonitor*>(static_cast<intptr_t>(id)); in Java_art_Test1934_nativeWaitForOtherThread() 105 jlong id, in Java_art_Test1934_nativeDoInterleaved() argument 107 NativeMonitor* mon = reinterpret_cast<NativeMonitor*>(static_cast<intptr_t>(id)); in Java_art_Test1934_nativeDoInterleaved() 148 extern "C" JNIEXPORT void Java_art_Test1934_destroyNativeMonitor(JNIEnv*, jclass, jlong id) { in Java_art_Test1934_destroyNativeMonitor() argument 149 NativeMonitor* mon = reinterpret_cast<NativeMonitor*>(static_cast<intptr_t>(id)); in Java_art_Test1934_destroyNativeMonitor()
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | AhatSnapshot.java | 108 public AhatInstance findInstance(long id) { in findInstance() argument 109 return mInstances.get(id); in findInstance() 120 public AhatClassObj findClassObj(long id) { in findClassObj() argument 121 AhatInstance inst = findInstance(id); in findClassObj() 185 public Site getSite(long id) { in getSite() argument 186 Site site = mRootSite.findSite(id); in getSite()
|
D | Site.java | 208 long prepareForUse(long id, int numHeaps, Reachability retained) { in prepareForUse() argument 209 mId = id++; in prepareForUse() 231 id = child.prepareForUse(id, numHeaps, retained); in prepareForUse() 241 return id; in prepareForUse() 410 public Site findSite(long id) { in findSite() argument 411 if (id == mId) { in findSite() 421 if (id < midSite.mId) { in findSite() 426 return midSite.findSite(id); in findSite() 427 } else if (id < mChildren.get(mid + 1).mId) { in findSite() 430 return midSite.findSite(id); in findSite()
|
D | Instances.java | 71 public T get(long id) { in get() argument 79 if (id == midId) { in get() 81 } else if (id < midId) { in get()
|
D | Parser.java | 212 long id = hprof.getId(); in parseInternal() local 216 strings.put(id, str); in parseInternal() 586 return Long.compare(a.id, b.id); in parseInternal() 600 long id = inst.getId(); in parseInternal() local 606 while (root != null && root.id < id) { in parseInternal() 611 if (root != null && root.id == id) { in parseInternal() 613 while (root != null && root.id == id) { in parseInternal() 677 public long id; field in Parser.RootData 680 public RootData(long id, RootType type) { in RootData() argument 681 this.id = id; in RootData() [all …]
|
/art/tools/ahat/etc/ |
D | hprofdump.py | 81 def showstr(id): argument 82 if id in strs: 83 return strs[id] 84 return "STR[@%x]" % id 93 def showclassobj(id): argument 94 if id in classobjs: 95 return "%s @%x" % (showstr(classobjs[id]), id) 96 return "@%x" % id 151 id = readID(hprof) variable 153 print "%d: STRING %x %s" % (pos, id, repr(string)) [all …]
|
/art/test/169-threadgroup-jni/ |
D | jni_daemon_thread.cc | 40 jmethodID id = env->GetStaticMethodID(klass.get(), "runFromNative", "()V"); in Runner() local 41 CHECK(id != nullptr); in Runner() 43 env->CallStaticVoidMethod(klass.get(), id); in Runner()
|
/art/test/716-jli-jit-samples/src-art/ |
D | Main.java | 32 public Widget(int id) { in Widget() argument 33 this.id = id; in Widget() 37 return id; in getId() 40 int id; field in Main.Widget
|
/art/test/004-ThreadStress/src-art/ |
D | Main.java | 674 int id = threadStress.id; in runTest() 676 System.out.println("Starting worker for " + id); in runTest() 682 Thread thread = new Thread(ts, "Worker thread " + id); in runTest() 688 "Thread exited for " + id + " with " + in runTest() 737 Thread t = new Thread(daemon, "Daemon thread " + daemon.id); in runTest() 755 protected final int id; field in Main 759 private Main(Object lock, int id, Operation[] operations) { in Main() argument 761 this.id = id; in Main() 768 System.out.println("Starting ThreadStress " + id); in run() 773 System.out.println("ThreadStress " + id in run() [all …]
|
/art/compiler/optimizing/ |
D | side_effects_analysis.cc | 85 uint32_t id = info->GetHeader()->GetBlockId(); in UpdateLoopEffects() local 86 loop_effects_[id] = loop_effects_[id].Union(effects); in UpdateLoopEffects()
|
/art/runtime/ |
D | monitor_pool.cc | 126 MonitorId id = mon_uninitialized->monitor_id_; in CreateMonitorInPool() local 129 Monitor* monitor = new(mon_uninitialized) Monitor(self, owner, obj, hash_code, id); in CreateMonitorInPool() 139 MonitorId id = monitor->monitor_id_; in ReleaseMonitorToPool() local 150 monitor->monitor_id_ = id; in ReleaseMonitorToPool()
|