Lines Matching defs:stack
56 // Walk through the method within depth of max_depth_ on the Java stack
59 BoundedStackVisitor(std::vector<std::pair<ArtMethod*, uint32_t>>* stack,
64 stack_(stack),
111 std::vector<InstructionLocation> stack;
113 BoundedStackVisitor bounded_stack_visitor(&stack, thread, max_depth);
115 profiler->RecordStack(stack);
449 // Record the current bounded stack into sampling results.
450 void BackgroundMethodSamplingProfiler::RecordStack(const std::vector<InstructionLocation>& stack) {
451 if (stack.size() == 0) {
454 // Get the method on top of the stack. We use this method to perform filtering.
455 ArtMethod* method = stack.front().first;
457 profile_table_.PutStack(stack);
472 // hit it at the top of the stack.
509 // Add a bounded stack to the profile table. Only the count of the method on
511 void ProfileSampleResults::PutStack(const std::vector<InstructionLocation>& stack) {
515 // The root of the stack trie is a dummy node so that we don't have to maintain
521 if (stack.size() == 0) {
526 for (std::vector<InstructionLocation>::const_reverse_iterator iter = stack.rbegin();
527 iter != stack.rend(); ++iter) {