Searched defs:depth (Results 1 - 15 of 15) sorted by relevance

/art/test/067-preemptive-unpark/src/
H A DMain.java65 private static void clearStack(int depth) { argument
77 if (depth > 0) {
78 clearStack(depth - 1);
/art/runtime/
H A Dthread_pool_test.cc107 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) argument
110 depth_(depth) {}
136 static const int depth = 8; local
137 thread_pool.AddTask(self, new TreeTask(&thread_pool, &count, depth));
140 EXPECT_EQ((1 << depth) - 1, count.LoadSequentiallyConsistent());
H A Dstack_map.h43 void SetDepth(uint8_t depth) { argument
44 region_.Store<uint8_t>(kDepthOffset, depth);
47 uint32_t GetMethodReferenceIndexAtDepth(uint8_t depth) const {
48 return region_.Load<uint32_t>(kFixedSize + depth * SingleEntrySize());
51 void SetMethodReferenceIndexAtDepth(uint8_t depth, uint32_t index) { argument
52 region_.Store<uint32_t>(kFixedSize + depth * SingleEntrySize(), index);
262 uint8_t depth = region_.Load<uint8_t>(offset); local
264 InlineInfo::kFixedSize + depth * InlineInfo::SingleEntrySize()));
H A Dstack.cc485 uint32_t depth) {
486 CHECK_LT(depth, thread->GetInstrumentationStack()->size());
487 return thread->GetInstrumentationStack()->at(depth);
484 GetInstrumentationStackFrame(Thread* thread, uint32_t depth) argument
H A Dthread.cc1420 bool Init(int depth)
1426 hs.NewHandle(class_linker->AllocObjectArray<mirror::Object>(self_, depth + 1)));
1430 mirror::IntArray* dex_pc_trace = mirror::IntArray::Alloc(self_, depth);
1437 method_trace->Set<kTransactionActive>(depth, dex_pc_trace);
1490 // Compute depth of stack
1493 int32_t depth = count_visitor.GetDepth(); local
1500 if (!build_trace_visitor.Init(depth)) {
1520 // Decode the internal stack trace into the depth, method trace and PC trace
1521 int32_t depth = soa.Decode<mirror::ObjectArray<mirror::Object>*>(internal)->GetLength() - 1; local
1533 depth
[all...]
H A Ddebugger.cc149 size_t depth = 0; local
150 while (depth < kMaxAllocRecordStackDepth && stack_[depth].Method() != NULL) {
151 ++depth;
153 return depth;
2266 : StackVisitor(thread, NULL), depth(0) {}
2272 ++depth;
2276 size_t depth; member in struct:art::CountStackDepthVisitor
2281 return visitor.depth;
2864 // different and the frame depth i
4446 size_t depth; member in struct:art::AllocRecordStackVisitor
[all...]
/art/runtime/native/
H A Ddalvik_system_VMStack.cc70 int32_t depth; local
71 Thread::InternalStackTraceToStackTraceElementArray(soa, trace, javaSteArray, &depth);
72 return depth;
/art/runtime/jdwp/
H A Djdwp_event.h78 int depth; /* JdwpStepDepth */ member in struct:art::JDWP::JdwpEventMod::__anon107
H A Djdwp_event.cc189 JdwpStepDepth depth = static_cast<JdwpStepDepth>(pMod->step.depth); local
190 JdwpError status = Dbg::ConfigureStep(pMod->step.threadId, size, depth);
H A Djdwp_handler.cc1330 uint32_t depth = request.ReadUnsigned32("step depth"); local
1332 << " size=" << JdwpStepSize(size) << " depth=" << JdwpStepDepth(depth);
1336 mod.step.depth = depth;
/art/runtime/mirror/
H A Dthrowable.cc83 // Decode the internal stack trace into the depth and method trace
85 int32_t depth = method_trace->GetLength() - 1; local
86 IntArray* pc_trace = down_cast<IntArray*>(method_trace->Get(depth));
87 if (depth == 0) {
90 for (int32_t i = 0; i < depth; ++i) {
H A Dclass.h393 uint32_t depth = 0; local
395 depth++;
397 return depth;
/art/runtime/verifier/
H A Dregister_line.h302 bool IsSetLockDepth(size_t reg, size_t depth) {
305 return (it->second & (1 << depth)) != 0;
311 void SetRegToLockDepth(size_t reg, size_t depth) { argument
312 CHECK_LT(depth, 32u);
313 DCHECK(!IsSetLockDepth(reg, depth));
316 reg_to_lock_depths_.Put(reg, 1 << depth);
318 it->second |= (1 << depth);
322 void ClearRegToLockDepth(size_t reg, size_t depth) { argument
323 CHECK_LT(depth, 32u);
324 DCHECK(IsSetLockDepth(reg, depth));
[all...]
/art/test/074-gc-thrash/src/
H A DMain.java253 private String dive(int depth, int iteration) { argument
293 strong[depth] = funStr;
294 weak[depth] = new WeakReference(funStr);
296 if (depth+1 < MAX_DEPTH)
297 dive(depth+1, iteration+1);
/art/compiler/dex/
H A Dmir_dataflow.cc1313 * Count uses, weighting by loop nesting depth. This code only
1322 uint32_t depth = std::min(3U, static_cast<uint32_t>(bb->nesting_depth)); local
1323 uint32_t weight = std::max(1U, depth * 100);

Completed in 8603 milliseconds