/art/test/067-preemptive-unpark/src/ |
H A D | Main.java | 65 private static void clearStack(int depth) { argument 77 if (depth > 0) { 78 clearStack(depth - 1);
|
/art/runtime/ |
H A D | thread_pool_test.cc | 103 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) argument 106 depth_(depth) {} 132 static const int depth = 8; local 133 thread_pool.AddTask(self, new TreeTask(&thread_pool, &count, depth)); 136 EXPECT_EQ((1 << depth) - 1, count.LoadSequentiallyConsistent());
|
H A D | stack.cc | 664 uint32_t depth) { 665 CHECK_LT(depth, thread->GetInstrumentationStack()->size()); 666 return thread->GetInstrumentationStack()->at(depth); 663 GetInstrumentationStackFrame(Thread* thread, uint32_t depth) argument
|
H A D | stack_map.h | 54 void SetDepth(uint8_t depth) { argument 55 region_.StoreUnaligned<uint8_t>(kDepthOffset, depth); 58 uint32_t GetMethodReferenceIndexAtDepth(uint8_t depth) const { 59 return region_.LoadUnaligned<uint32_t>(kFixedSize + depth * SingleEntrySize()); 62 void SetMethodReferenceIndexAtDepth(uint8_t depth, uint32_t index) { argument 63 region_.StoreUnaligned<uint32_t>(kFixedSize + depth * SingleEntrySize(), index); 970 uint8_t depth = region_.LoadUnaligned<uint8_t>(offset); local 972 InlineInfo::kFixedSize + depth * InlineInfo::SingleEntrySize()));
|
H A D | thread.cc | 1671 bool Init(int depth) 1675 trace_ = cl->AllocPointerArray(self_, depth * 2); 1732 // Compute depth of stack 1735 int32_t depth = count_visitor.GetDepth(); local 1742 if (!build_trace_visitor.Init(depth)) { 1771 // Decode the internal stack trace into the depth, method trace and PC trace 1772 int32_t depth = soa.Decode<mirror::PointerArray*>(internal)->GetLength() / 2; local 1784 depth = std::min(depth, traces_length); 1788 cl->AllocStackTraceElementArray(soa.Self(), depth); [all...] |
H A D | debugger.cc | 150 size_t depth = 0; local 151 while (depth < kMaxAllocRecordStackDepth && stack_[depth].Method() != nullptr) { 152 ++depth; 154 return depth; 2330 depth(0) {} 2336 ++depth; 2340 size_t depth; member in struct:art::CountStackDepthVisitor 2345 return visitor.depth; 3075 // different and the frame depth i 4909 size_t depth; member in struct:art::AllocRecordStackVisitor [all...] |
/art/runtime/native/ |
H A D | dalvik_system_VMStack.cc | 67 int32_t depth; local 68 Thread::InternalStackTraceToStackTraceElementArray(soa, trace, javaSteArray, &depth); 69 return depth;
|
/art/runtime/jdwp/ |
H A D | jdwp_event.h | 78 int depth; /* JdwpStepDepth */ member in struct:art::JDWP::JdwpEventMod::__anon115
|
H A D | jdwp_event.cc | 211 JdwpStepDepth depth = static_cast<JdwpStepDepth>(pMod->step.depth); local 212 JdwpError status = Dbg::ConfigureStep(pMod->step.threadId, size, depth);
|
H A D | jdwp_handler.cc | 1280 uint32_t depth = request->ReadUnsigned32("step depth"); local 1282 << " size=" << JdwpStepSize(size) << " depth=" << JdwpStepDepth(depth); 1286 mod.step.depth = depth;
|
/art/runtime/mirror/ |
H A D | throwable.cc | 82 // The format is [method pointers][pcs] so the depth is half the length (see method 100 // Decode the internal stack trace into the depth and method trace 105 const auto depth = array_len / 2; local 106 if (depth == 0) { 110 for (int32_t i = 0; i < depth; ++i) { 112 uintptr_t dex_pc = method_trace->GetElementPtrSize<uintptr_t>(i + depth, ptr_size);
|
H A D | class.cc | 902 uint32_t depth = 0; local 904 depth++; 906 return depth;
|
/art/test/074-gc-thrash/src/ |
H A D | Main.java | 267 private String dive(int depth, int iteration) { argument 305 weak[depth] = new WeakReference(funStr); 306 strong[depth] = funStr; 307 if (depth+1 < MAX_DEPTH) 308 dive(depth+1, iteration+1);
|
/art/compiler/dex/ |
H A D | mir_dataflow.cc | 1387 uint32_t depth = std::min(3U, static_cast<uint32_t>(bb->nesting_depth)); local 1388 uint32_t weight = std::max(1U, depth * 100); 1393 * Count uses, weighting by loop nesting depth. This code only
|
/art/compiler/utils/arm/ |
H A D | assembler_arm32_test.cc | 269 static const char* GetRegTokenFromDepth(int depth) { argument 270 switch (depth) { 296 void TemplateHelper(std::function<void(arm::Register)> f, int depth ATTRIBUTE_UNUSED, 305 const char* reg_token = GetRegTokenFromDepth(depth); 315 void TemplateHelper(std::function<void(const arm::ShifterOperand&)> f, int depth ATTRIBUTE_UNUSED, 330 void TemplateHelper(std::function<void(arm::Condition)> f, int depth ATTRIBUTE_UNUSED, 345 void TemplateHelper(std::function<void(arm::Register, Args...)> f, int depth, bool without_pc, argument 353 const char* reg_token = GetRegTokenFromDepth(depth); 360 TemplateHelper(std::function<void(Args...)>(lambda), depth + 1, without_pc, local 366 void TemplateHelper(std::function<void(const arm::ShifterOperand&, Args...)> f, int depth, argument 378 TemplateHelper(std::function<void(Args...)>(lambda), depth, without_pc, local 384 TemplateHelper(std::function<void(arm::Condition, Args...)> f, int depth, bool without_pc, std::string fmt, std::ostringstream& oss) argument 395 TemplateHelper(std::function<void(Args...)>(lambda), depth, without_pc, local [all...] |
/art/runtime/verifier/ |
H A D | register_line.h | 313 bool IsSetLockDepth(size_t reg, size_t depth) { argument 316 return (it->second & (1 << depth)) != 0; 322 bool SetRegToLockDepth(size_t reg, size_t depth) { argument 323 CHECK_LT(depth, 32u); 324 if (IsSetLockDepth(reg, depth)) { 329 reg_to_lock_depths_.Put(reg, 1 << depth); 331 it->second |= (1 << depth); 336 void ClearRegToLockDepth(size_t reg, size_t depth) { argument 337 CHECK_LT(depth, 32u); 338 DCHECK(IsSetLockDepth(reg, depth)); [all...] |