Searched refs:stack (Results 1 - 16 of 16) sorted by relevance

/art/runtime/arch/arm/
H A Djni_entrypoints_arm.S31 sub sp, #12 @ pad stack pointer to align frame
35 add sp, #12 @ restore stack pointer
H A Dquick_entrypoints_arm.S49 str \rTemp1, [sp, #0] @ Place Method* at bottom of stack.
77 str \rTemp1, [sp, #0] @ Place Method* at bottom of stack.
138 str \rTemp1, [sp, #0] @ Place Method* at bottom of stack.
144 str r0, [sp, #0] @ Store ArtMethod* to bottom of stack.
283 * that will place a mock Method* at the bottom of the stack. Arg1 holds the exception.
317 * stack and call the appropriate C helper.
398 mov r11, sp @ save the stack pointer
404 sub r4, sp, r4 @ reserve & align *stack* to 16 bytes: native calling
409 add r0, sp, #4 @ pass stack pointer + method ptr as dest for memcpy
429 mov sp, r11 @ restore the stack pointe
[all...]
/art/runtime/arch/mips/
H A Djni_entrypoints_mips.S41 lw $a0, 0($sp) # restore registers from stack
47 addiu $sp, $sp, 32 # restore the stack
H A Dquick_entrypoints_mips.S36 * Allocates ARG_SLOT_SIZE bytes at the bottom of the stack for arg slots.
37 * Reserves FRAME_SIZE_SAVE_ALL_CALLEE_SAVE + ARG_SLOT_SIZE bytes on the stack
84 sw $t0, 0($sp) # Place Method* at bottom of stack.
86 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
96 * Allocates ARG_SLOT_SIZE bytes at the bottom of the stack for arg slots.
97 * Reserves FRAME_SIZE_REFS_ONLY_CALLEE_SAVE + ARG_SLOT_SIZE bytes on the stack
132 sw $t0, 0($sp) # Place Method* at bottom of stack.
134 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
139 addiu $sp, $sp, ARG_SLOT_SIZE # remove argument slots on the stack
215 * Allocates ARG_SLOT_SIZE bytes at the bottom of the stack fo
[all...]
/art/runtime/arch/mips64/
H A Djni_entrypoints_mips64.S52 ld $a0, 0($sp) # restore registers from stack
71 daddiu $sp, $sp, 80 # restore the stack
H A Dquick_entrypoints_mips64.S60 sd $t8, 136($sp) # t8 holds caller's gp, now save it to the stack.
94 sd $t1, 0($sp) # Place ArtMethod* at bottom of stack.
118 sd $t8, 56($sp) # t8 holds caller's gp, now save it to the stack.
137 sd $t1, 0($sp) # Place Method* at bottom of stack.
190 // This assumes the top part of these stack frame types are identical.
206 sd $t8, 184($sp) # t8 holds caller's gp, now save it to the stack.
260 sd $t1, 0($sp) # Place Method* at bottom of stack.
266 sd $a0, 0($sp) # Place Method* at bottom of stack.
443 * context) and passes the bottom of the stack.
516 * stack an
[all...]
/art/runtime/
H A Dinstrumentation.cc207 // need to push a DEX pc into the dex_pcs_ list to match size of instrumentation stack.
247 // Insert frame at the right position so we do not corrupt the instrumentation stack.
248 // Instrumentation stack frames are in descending frame id order.
286 // Create method enter events for all methods currently on the thread's stack. We only do this
379 std::deque<instrumentation::InstrumentationStackFrame>* stack = thread->GetInstrumentationStack(); local
380 if (stack->size() > 0) {
386 CHECK_EQ(visitor.frames_removed_, stack->size());
387 while (stack->size() > 0) {
388 stack->pop_front();
587 // Restore stack onl
962 std::deque<instrumentation::InstrumentationStackFrame>* stack = self->GetInstrumentationStack(); local
979 std::deque<instrumentation::InstrumentationStackFrame>* stack = self->GetInstrumentationStack(); local
1036 std::deque<instrumentation::InstrumentationStackFrame>* stack = self->GetInstrumentationStack(); local
[all...]
H A Dprofiler.cc57 // Walk through the method within depth of max_depth_ on the Java stack
60 BoundedStackVisitor(std::vector<std::pair<ArtMethod*, uint32_t>>* stack,
64 stack_(stack),
109 std::vector<InstructionLocation> stack; local
111 BoundedStackVisitor bounded_stack_visitor(&stack, thread, max_depth);
113 profiler->RecordStack(stack);
445 // Record the current bounded stack into sampling results.
446 void BackgroundMethodSamplingProfiler::RecordStack(const std::vector<InstructionLocation>& stack) { argument
447 if (stack.size() == 0) {
450 // Get the method on top of the stack
502 PutStack(const std::vector<InstructionLocation>& stack) argument
[all...]
H A Dhandle_scope.h20 #include <stack>
25 #include "stack.h"
37 // GC. It is most common to stack allocate HandleScopes using StackHandleScope.
145 // Scoped handle storage of a fixed size that is usually stack allocated.
176 // The thread that the stack handle scope is a linked list upon. The stack handle scope will
186 // Utility class to manage a collection (stack) of StackHandleScope. All the managed
228 std::stack<StackHandleScope<kNumReferencesPerScope>*> scopes_;
H A Dprofiler.h47 // a particular context with the method on top of the stack being a leaf or an internal node of the
70 // Comparator for stack trie node.
128 // Map of method hit by profiler vs the set of stack trie nodes for this method.
131 StackTrieNode* stack_trie_root_; // Root of the trie that stores sampled stack information.
180 void RecordStack(const std::vector<InstructionLocation>& stack) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
H A DAndroid.mk160 stack.cc \
333 stack.h \
494 # Leave the symbols in the shared library so that stack unwinders can
H A Dclass_linker.cc266 // dex_lock_ is recursive as it may be used in stack dumping.
1747 // trigger the chaining with a proper stack trace.
1764 // We'll let the Java-side rediscover all this and throw the exception with the right stack
3614 // initializing higher up the stack or another thread has beat us
4790 ArenaStack stack(runtime->GetLinearAlloc()->GetArenaPool());
4791 ScopedArenaAllocator allocator(&stack);
/art/tools/
H A Dcpplint.py241 'pair.h', 'pthread_alloc', 'queue', 'set', 'set.h', 'sstream', 'stack',
259 'ropeimpl.h', 'SFile.h', 'slist', 'slist.h', 'stack.h', 'stdexcept',
1492 # The entire nesting stack before #if
1495 # The entire nesting stack up to #else
1512 self.stack = []
1524 return (not self.stack) or self.stack[-1].seen_open_brace
1530 True if top of the stack is a namespace block, False otherwise.
1532 return self.stack and isinstance(self.stack[
[all...]
/art/runtime/gc/
H A Dheap.h122 // If true, use thread-local allocation stack.
523 // Mark and empty stack.
533 // Mark all the objects in the allocation stack in the specified bitmap.
538 accounting::ObjectStack* stack)
542 // Mark the specified allocation stack as live.
543 void MarkAllocStackAsLive(accounting::ObjectStack* stack)
850 // Swap the allocation stack with the live stack.
859 // Push an object onto the allocation stack.
1090 // Mark stack tha
[all...]
H A Dheap.cc93 // How many reserve entries are at the end of the allocation stack, these are only needed if the
94 // allocation stack overflows.
96 // Default mark stack size in bytes.
106 // GC alot mode uses a small allocation stack to stress test a lot of GC.
109 // Verify objet has a small allocation stack size since searching the allocation stack is slow.
177 * causes a lot of GC since we do a GC for alloc whenever the stack is full. When heap
455 mark_stack_.reset(accounting::ObjectStack::Create("mark stack", kDefaultMarkStackSize,
459 "allocation stack", max_allocation_stack_size_, alloc_stack_capacity));
461 "live stack", max_allocation_stack_size
862 MarkAllocStackAsLive(accounting::ObjectStack* stack) argument
2322 MarkAllocStack(accounting::ContinuousSpaceBitmap* bitmap1, accounting::ContinuousSpaceBitmap* bitmap2, accounting::LargeObjectBitmap* large_objects, accounting::ObjectStack* stack) argument
[all...]
/art/compiler/optimizing/
H A Dcode_generator_x86.cc1823 // Create stack space for the call to
1825 // TODO: enhance register allocator to ask for stack temporaries.
1831 // Load the value to the FP stack, using temporaries if needed.
1842 // Remove the temporary stack space we allocated.
1876 // Create stack space for the call to
1878 // TODO: enhance register allocator to ask for stack temporaries.
1884 // Load the value to the FP stack, using temporaries if needed.
1895 // Remove the temporary stack space we allocated.
2258 // Write the value to the temporary location on the stack and load to FP stack
[all...]

Completed in 220 milliseconds