Searched refs:stack (Results 76 - 100 of 169) sorted by relevance

1234567

/openjdk7/hotspot/src/share/vm/interpreter/
H A DoopMapCache.cpp45 void set_mask(CellTypeState* vars, CellTypeState* stack, int stack_top);
53 bool verify_mask(CellTypeState *vars, CellTypeState *stack, int max_locals, int stack_top);
78 CellTypeState* stack,
85 // Computes stack map for (method,bci) and initialize entry
133 CellTypeState* stack,
137 _entry->set_mask(vars, stack, stack_top);
307 bool OopMapCacheEntry::verify_mask(CellTypeState* vars, CellTypeState* stack, int max_locals, int stack_top) { argument
333 bool v2 = stack[j].is_reference() ? true : false;
334 assert(v1 == v2, "stack oop mask generation error");
338 bool v4 = !stack[
131 fill_stackmap_for_opcodes(BytecodeStream *bcs, CellTypeState* vars, CellTypeState* stack, int stack_top) argument
396 set_mask(CellTypeState *vars, CellTypeState *stack, int stack_top) argument
[all...]
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkFunction.hpp85 SharkStack* stack() const {
89 // On-stack replacement
H A DsharkNativeWrapper.hpp111 // The Zero stack and our frame on it.
113 SharkStack* stack() const { function in class:SharkNativeWrapper
127 return stack()->oopmap_frame_size();
H A DsharkTopLevelBlock.hpp67 SharkStack* stack() const { function in class:SharkTopLevelBlock
68 return function()->stack();
292 stack()->CreateSetLastJavaFrame();
294 stack()->CreateResetLastJavaFrame();
H A DsharkState.hpp88 // Expression stack
91 assert(slot >= 0 && slot < stack_depth(), "bad stack slot");
94 SharkValue* stack(int slot) const { function in class:SharkState
106 assert(stack_depth() < max_stack(), "stack overrun");
110 assert(stack_depth() > 0, "stack underrun");
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/
H A DMethodVisitor.java134 * Visits the current state of the local variables and operand stack
139 * values of the local variables and of the operand stack elements <i>just
146 * locals as the previous frame and with the empty stack.</li> <li>{@link Opcodes#F_SAME1}
148 * with single value on the stack (<code>nStack</code> is 1 and
149 * <code>stack[0]</code> contains value for the type of the stack item).</li>
156 * locals are absent and with the empty stack (<code>nLocals</code> is 1,
160 * @param type the type of this stack map frame. Must be
177 * @param nStack the number of operand stack elements in the visited frame.
178 * @param stack th
181 visitFrame( int type, int nLocal, Object[] local, int nStack, Object[] stack) argument
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A Darray.hpp202 assert(!is_empty(), "stack is empty"); \
207 assert(!is_empty(), "stack is empty"); \
211 void push_all(const stack_name* stack) { \
212 const int l = stack->length(); \
213 for (int i = 0; i < l; i++) push(((etype*)(stack->_data))[i]); \
246 /* inserts contents of the given stack before the element at index i */ \
268 void appendAll(const stack_name* stack) { push_all(stack); } \
/openjdk7/jdk/src/share/native/common/
H A Dcheck_code.c284 struct stack_item_type *stack; member in struct:stack_info_type
364 static void push_stack(context_type *, unsigned int inumber, stack_info_type *stack);
889 * down the stack (due to class loading), which could end up rewriting
1024 this_idata->stack_info.stack = NULL;
1573 // on the expression stack for the exception that the VM could push
1600 handler_info->stack_info.stack = stack_item;
1730 idata[0].stack_info.stack = NULL;
1820 /* Make sure the stack can deal with this instruction */
1827 /* Update the stack. */
1841 /* Add the new stack an
1973 stack_item_type *stack = this_idata->stack_info.stack; local
2463 stack_item_type *stack = this_idata->stack_info.stack; local
2641 stack_item_type *stack = new_stack_info->stack; local
3191 stack_item_type *stack = this_idata->stack_info.stack; local
3382 copy_stack(context_type *context, stack_item_type *stack) argument
4133 stack_item_type *stack = stack_info->stack; local
[all...]
/openjdk7/jdk/src/share/classes/com/sun/rowset/internal/
H A DWebRowSetXmlWriter.java58 private java.util.Stack stack; field in class:WebRowSetXmlWriter
96 // create a new stack for tag checking.
97 stack = new java.util.Stack();
129 // create a new stack for tag checking.
130 stack = new java.util.Stack();
465 writeIndent(stack.size());
476 writeIndent(stack.size());
494 writeIndent(stack.size());
507 writeIndent(stack.size());
530 // add the tag to stack
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A DcompilationPolicy.cpp340 // counter overflow in a loop => try to do on-stack-replacement
420 // StackWalkCompPolicy - walk up stack to find a suitable method to compile
454 GrowableArray<RFrame*>* stack = new GrowableArray<RFrame*>(50); local
455 stack->push(first);
456 RFrame* top = findTopInlinableFrame(stack);
477 RFrame* StackWalkCompPolicy::findTopInlinableFrame(GrowableArray<RFrame*>* stack) { argument
478 // go up the stack until finding a frame that (probably) won't be inlined
480 RFrame* current = stack->at(0); // current choice for stopping
486 // before going up the stack further, check if doing so would get us into
488 RFrame* next = senderOf(current, stack);
592 senderOf(RFrame* rf, GrowableArray<RFrame*>* stack) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DClassWriter.java1110 // output stack
1112 for (int j=0; j<frame.stack.length;
1113 j += (target.generateEmptyAfterBig() ? 1 : Code.width(frame.stack[j]))) {
1119 for (int j=0; j<frame.stack.length;
1120 j += (target.generateEmptyAfterBig() ? 1 : Code.width(frame.stack[j]))) {
1121 if (debugstackmap) System.out.print(" stack[" + j + "]=");
1122 writeStackMapType(frame.stack[j]);
1232 final Type stack; field in class:ClassWriter.StackMapTableFrame.SameLocals1StackItemFrame
1233 SameLocals1StackItemFrame(int offsetDelta, Type stack) { argument
1235 this.stack
1303 final Type[] stack; field in class:ClassWriter.StackMapTableFrame.FullFrame
1304 FullFrame(int offsetDelta, Type[] locals, Type[] stack) argument
[all...]
/openjdk7/hotspot/src/share/vm/classfile/
H A DstackMapTableFormat.hpp30 // These classes represent the stack-map substructures described in the JVMS
649 int stack_slots, verification_type_info* stack) {
663 cur = sm->stack(end_of_locals);
665 cur->copy_from(stack);
667 stack = stack->next();
675 int stack_slots, verification_type_info* stack) {
682 vti = stack;
690 static size_t max_size(int locals, int stack) { argument
692 (locals + stack) * verification_type_inf
646 create_at( address addr, int offset_delta, int num_locals, verification_type_info* locals, int stack_slots, verification_type_info* stack) argument
673 calculate_size( int num_locals, verification_type_info* locals, int stack_slots, verification_type_info* stack) argument
717 verification_type_info* stack(address end_of_locals) const { function in class:full_frame
[all...]
H A DstackMapFrame.hpp35 // A StackMapFrame represents one frame in the stack map attribute.
52 int32_t _stack_mark; // Records the size of the stack prior to an
61 VerificationType* _stack; // operand stack type array
107 VerificationType* stack,
114 _locals(locals), _stack(stack),
133 inline VerificationType* stack() const { return _stack; } function in class:StackMapFrame
138 // Set locals and stack types to bogus
149 // Return a StackMapFrame with the same local variable array and empty stack.
157 // Search local variable type array and stack type array.
161 // Search local variable type array and stack typ
100 StackMapFrame(int32_t offset, u1 flags, u2 locals_size, u2 stack_size, u2 max_locals, u2 max_stack, VerificationType* locals, VerificationType* stack, ClassVerifier* v) argument
[all...]
/openjdk7/hotspot/test/runtime/7107135/
H A DTest7107135.sh30 ## @summary Stack guard pages lost after loading library with executable stack.
80 echo Test changing of stack protection:
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/expr/
H A DExpr.jj42 Stack stack = new Stack();
49 return (LValue)stack.peek();
53 return (LValue)stack.pop();
57 stack.push(lval);
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_init.c394 "depth=<size> stack trace depth " TO_STR(DEFAULT_TRACE_DEPTH) "\n"
440 " - Get sample cpu information every 20 millisec, with a stack depth of 3:\n"
976 Stack *stack; local
980 stack = gdata->object_free_stack;
981 gdata->object_free_stack = NULL; /* Will trigger new stack */
984 /* Notice we just grabbed the stack of freed objects so
985 * any object free events will create a new stack.
987 if ( stack != NULL ) {
991 count = stack_depth(stack);
1000 tag = *(jlong*)stack_element(stack,
1778 Stack *stack; local
2070 Stack *stack; local
[all...]
/openjdk7/hotspot/src/share/vm/oops/
H A DgenerateOopMap.hpp264 int _max_locals; // Determines split between vars and stack
265 int _max_stack; // Determines split between stack and monitors
266 CellTypeState* _state; // State (vars, stack) at entry.
267 int _stack_top; // -1 indicates bottom stack value.
268 int _monitor_top; // -1 indicates bottom monitor stack value.
271 CellTypeState* stack() { return _state + _max_locals; } function in class:BasicBlock
302 int _max_stack; // Cached value of max. stack depth
303 int _max_monitors; // Cached value of max. monitor stack depth
339 CellTypeState * stack () { return _state+_max_locals; } function in class:VALUE_OBJ_CLASS_SPEC
449 // List of bci's where a return address is on top of the stack
505 fill_stackmap_for_opcodes(BytecodeStream *bcs, CellTypeState* vars, CellTypeState* stack, int stackTop) argument
527 fill_stackmap_for_opcodes(BytecodeStream *bcs, CellTypeState* vars, CellTypeState* stack, int stack_top) argument
560 fill_stackmap_for_opcodes(BytecodeStream *bcs, CellTypeState* vars, CellTypeState* stack, int stack_top) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/medialib/
H A Dmlib_v_ImageCopy_blk.s53 ! Minimum size of stack frame according to SPARC ABI
72 ! in i-registers from %i0 to %i5. The rest arguments are stored in stack.
73 ! Note that %i6 is reserved for stack pointer and %i7 for return address.
85 !stack pointer %o6
223 save %sp,-MINFRAME,%sp ! reserve space for stack
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DParser.java174 Stack stack = (Stack)existing;
175 stack.push(var);
178 Stack stack = new Stack();
179 stack.push(existing);
180 stack.push(var);
181 _variableScope.put(var.getName(), stack);
192 Stack stack = (Stack)existing;
193 if (!stack.isEmpty()) stack.pop();
194 if (!stack
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DSecurityManager.java307 * Returns the current execution stack as an array of classes.
310 * stack. The element at index <code>0</code> is the class of the
314 * @return the execution stack.
328 * <li>All methods on the execution stack are from classes
331 * <li>All methods on the execution stack up to the first
343 * @return the class loader of the most recent occurrence on the stack
375 * <li>All methods on the execution stack are from classes
378 * <li>All methods on the execution stack up to the first
390 * @return the class of the most recent occurrence on the stack
410 * Returns the stack dept
[all...]
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_IR.hpp264 CodeEmitInfo(ValueStack* stack, XHandlers* exception_handlers);
267 CodeEmitInfo(CodeEmitInfo* info, ValueStack* stack = NULL);
274 ValueStack* stack() const { return _stack; } function in class:CodeEmitInfo
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/istack/internal/logging/
H A DLogger.java432 * @return caller method name from the call stack of the current {@link Thread}.
440 * position in the call stack of the current {@link Thread}.
442 * @param methodIndexInStack index to the call stack to get the method name for.
444 * position in the call stack of the current {@link Thread}.
449 final StackTraceElement[] stack = Thread.currentThread().getStackTrace();
450 if (stack.length > methodIndexInStack + 1) {
451 methodName = stack[methodIndexInStack].getMethodName();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/privateutil/
H A DPolicyUtils.java58 * position in the call stack of the current {@link Thread}.
60 * @param methodIndexInStack index to the call stack to get the method name for.
62 * position in the call stack of the current {@link Thread}.
67 final StackTraceElement[] stack = Thread.currentThread().getStackTrace();
68 if (stack.length > methodIndexInStack + 1) {
69 methodName = stack[methodIndexInStack].getMethodName();
81 * @return caller method name from the call stack of the current {@link Thread}.
86 // We are likely running on Mac OS X, which returns a shorter stack trace
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/
H A DSynchronizationStatistics.java114 private static void printStack(Thread t, StackTraceElement[] stack) { argument
116 " stack: (length = " + stack.length + ")");
118 for (int j = 0; j < stack.length; j++) {
119 System.out.println(INDENT + stack[j]);
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/
H A DGenerator.java104 * @param stack The context stack.
106 protected abstract boolean parseNonConforming(ContextStack stack); argument
111 * @param stack The context stack.
114 protected abstract CompoundType getTopType(ClassDefinition cdef, ContextStack stack); argument

Completed in 377 milliseconds

1234567