Searched defs:stack (Results 1 - 6 of 6) sorted by relevance

/art/tools/ahat/src/
H A DAhatSnapshot.java113 StackTrace stack = getStack(inst);
114 int stackId = getStackTraceSerialNumber(stack);
115 if (stack != null) {
116 StackFrame[] frames = getStackFrames(stack);
198 StackTrace stack = getStack(inst);
199 if (stack != null) {
200 StackFrame[] frames = getStackFrames(stack);
235 // Return the stack where the given instance was allocated.
240 // Return the list of stack frames for a stack trac
241 getStackFrames(StackTrace stack) argument
246 getStackTraceSerialNumber(StackTrace stack) argument
[all...]
/art/tools/dmtracedump/
H A Dcreatetesttrace.cc77 typedef struct stack { struct
80 } stack; typedef in typeref:struct:stack
102 * determines the call stack. Each called method must be indented by one
146 stack* callStack = new stack[numThreads];
185 // Allocate space for the thread stack, if necessary
243 // Exiting method must be currently on top of stack (unless stack is
247 printf(" Exiting %s (past bottom of stack)\n",
262 } else { // exiting method doesn't match stack'
[all...]
/art/runtime/
H A Dinstrumentation.cc212 // need to push a DEX pc into the dex_pcs_ list to match size of instrumentation stack.
252 // Insert frame at the right position so we do not corrupt the instrumentation stack.
253 // Instrumentation stack frames are in descending frame id order.
293 // Create method enter events for all methods currently on the thread's stack. We only do this
393 std::deque<instrumentation::InstrumentationStackFrame>* stack = thread->GetInstrumentationStack(); local
394 if (stack->size() > 0) {
400 CHECK_EQ(visitor.frames_removed_, stack->size());
401 while (stack->size() > 0) {
402 stack->pop_front();
616 // Restore stack onl
1037 std::deque<instrumentation::InstrumentationStackFrame>* stack = self->GetInstrumentationStack(); local
1054 std::deque<instrumentation::InstrumentationStackFrame>* stack = self->GetInstrumentationStack(); local
1115 std::deque<instrumentation::InstrumentationStackFrame>* stack = self->GetInstrumentationStack(); local
[all...]
H A Dprofiler.cc56 // 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; local
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) { argument
451 if (stack.size() == 0) {
454 // Get the method on top of the stack
511 PutStack(const std::vector<InstructionLocation>& stack) argument
[all...]
H A Dthread.h42 #include "stack.h"
119 // Thread's stack layout for implicit stack overflow checks:
121 // +---------------------+ <- highest address of stack memory
134 // +---------------------+ <- lowest address of stack memory
136 // The stack always grows down in memory. At the lowest address is a region of memory
139 // between the stack_end and the highest address in stack memory. An implicit stack
143 // at least 4K of space. Because stack overflow checks are only performed in generated code,
189 // Dumps the detailed thread state and the thread stack (use
242 SetThreadLocalMarkStack(gc::accounting::AtomicStack<mirror::Object>* stack) argument
[all...]
/art/runtime/gc/
H A Dheap.cc92 // How many reserve entries are at the end of the allocation stack, these are only needed if the
93 // allocation stack overflows.
95 // Default mark stack size in bytes.
105 // GC alot mode uses a small allocation stack to stress test a lot of GC.
108 // Verify objet has a small allocation stack size since searching the allocation stack is slow.
208 * causes a lot of GC since we do a GC for alloc whenever the stack is full. When heap
552 mark_stack_.reset(accounting::ObjectStack::Create("mark stack", kDefaultMarkStackSize,
556 "allocation stack", max_allocation_stack_size_, alloc_stack_capacity));
558 "live stack", max_allocation_stack_size
1048 MarkAllocStackAsLive(accounting::ObjectStack* stack) argument
2559 MarkAllocStack(accounting::ContinuousSpaceBitmap* bitmap1, accounting::ContinuousSpaceBitmap* bitmap2, accounting::LargeObjectBitmap* large_objects, accounting::ObjectStack* stack) argument
[all...]

Completed in 334 milliseconds