/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/tty/ |
H A D | ThreadGroupIterator.java | 48 private final Stack<Iterator<ThreadGroupReference>> stack = new Stack<Iterator<ThreadGroupReference>>(); field in class:ThreadGroupIterator 65 return stack.peek(); 70 * on the stack has more elements. If the stack is 75 stack.push(tgl.iterator()); 76 while (!stack.isEmpty() && !top().hasNext()) { 77 stack.pop(); 83 return !stack.isEmpty();
|
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/ |
H A D | Type.java | 143 protected ContextStack stack; // Easy access for subclasses. field in class:Type 601 protected static Type getType (sun.tools.java.Type key, ContextStack stack) { argument 602 return getType(key.toString(),stack); 608 protected static Type getType (String key, ContextStack stack) { argument 609 Type result = (Type) stack.getEnv().allTypes.get(key); 612 stack.traceExistingType(result); 621 protected static void removeType (String key, ContextStack stack) { argument 622 Type value = (Type) stack.getEnv().allTypes.remove(key); 623 stack.getEnv().invalidTypes.put(value,key); 629 protected static void removeType (sun.tools.java.Type key, ContextStack stack) { argument 638 putType(sun.tools.java.Type key, Type value, ContextStack stack) argument 645 putType(String key, Type value, ContextStack stack) argument 652 putInvalidType(Type key, String value, ContextStack stack) argument 669 updateAllInvalidTypes(ContextStack stack) argument 768 Type(ContextStack stack, int fullTypeCode) argument 820 classNotFound(ContextStack stack, ClassNotFound e) argument 828 classNotFound(boolean quiet, ContextStack stack, ClassNotFound e) argument 847 failedConstraint(int constraintNum, boolean quiet, ContextStack stack, Object arg0, Object arg1, Object arg2) argument 877 failedConstraint(int constraintNum, boolean quiet, ContextStack stack, Object arg0, Object arg1) argument 895 failedConstraint(int constraintNum, boolean quiet, ContextStack stack, Object arg0) argument 911 failedConstraint(int constraintNum, boolean quiet, ContextStack stack) argument [all...] |
H A D | ArrayType.java | 68 ContextStack stack) { 84 Type existing = getType(theType,stack); 96 Type temp = CompoundType.makeType(arrayType,null,stack); 102 result = new ArrayType(stack,temp,theType.getArrayDimension()); 106 putType(theType,result,stack); 108 // Do the stack thing in case tracing on... 110 stack.push(result); 111 stack.pop(true); 220 private ArrayType(ContextStack stack, Type type, int arrayDimension) { argument 221 super(stack,TYPE_ARRA 67 forArray( sun.tools.java.Type theType, ContextStack stack) argument [all...] |
H A D | PrimitiveType.java | 61 ContextStack stack) { 63 if (stack.anyErrors()) return null; 67 Type existing = getType(type,stack); 93 PrimitiveType it = new PrimitiveType(stack,typeCode); 97 putType(type,it,stack); 99 // Do the stack thing in case tracing on... 101 stack.push(it); 102 stack.pop(true); 169 private PrimitiveType(ContextStack stack, int typeCode) { argument 170 super(stack,typeCod 60 forPrimitive(sun.tools.java.Type type, ContextStack stack) argument [all...] |
H A D | ContextStack.java | 81 private TypeContext[] stack = new TypeContext[maxIndex]; field in class:ContextStack 141 * If tracing on, write the current call stack (not the context stack) to 153 * Print a line indented by stack depth. 197 * Push a new element on the stack. 209 System.arraycopy(stack,0,newStack,0,maxIndex); 211 stack = newStack; 216 TypeContext it = stack[currentIndex]; 220 stack[currentIndex] = it; 237 * Pop an element from the stack [all...] |
H A D | InterfaceType.java | 100 protected InterfaceType(ContextStack stack, int typeCode, ClassDefinition classDef) { argument 101 super(stack,typeCode,classDef); // Call special parent constructor. 113 protected InterfaceType(ContextStack stack, argument 116 super(stack,classDef,typeCode);
|
H A D | CompoundType.java | 264 ContextStack stack) { 268 result = (CompoundType) makeType(classDef.getType(),classDef,stack); 332 failedConstraint(26,false,stack,"required classes"); 593 protected CompoundType(ContextStack stack, int typeCode, ClassDefinition classDef) { argument 594 super(stack,typeCode); 655 classNotFound(stack,e); 663 protected CompoundType(ContextStack stack, ClassDefinition classDef, argument 665 super(stack,typeCode); 713 failedConstraint(7,false,stack,id.toString(),e.getMessage()); 724 ContextStack stack, 263 forCompound(ClassDefinition classDef, ContextStack stack) argument 721 initialize( Vector directInterfaces, Vector directMethods, Vector directMembers, ContextStack stack, boolean quiet) argument 798 makeType(sun.tools.java.Type theType, ClassDefinition classDef, ContextStack stack) argument 1224 updateParentClassMethods(ClassDefinition current, Vector currentMethods, boolean quiet, ContextStack stack) argument 1295 addAllMethods(ClassDefinition current, Vector directMethods, boolean noMultiInheritedMethods, boolean quiet, ContextStack stack) argument 1424 addRemoteInterfaces(Vector list, boolean allowNonConforming, ContextStack stack) argument 1482 addNonRemoteInterfaces(Vector list, ContextStack stack) argument 1529 addAllMembers(Vector allMembers, boolean onlyConformingConstants, boolean quiet, ContextStack stack) argument 1602 addConformingConstants(Vector allMembers, boolean quiet, ContextStack stack) argument 1663 getMethodExceptions(MemberDefinition member, boolean quiet, ContextStack stack) argument 1756 assertNotImpl(Type type, boolean quiet, ContextStack stack, CompoundType enclosing, boolean dataMember) argument 2349 Method(CompoundType enclosing, MemberDefinition memberDef, boolean quiet, ContextStack stack) argument 2607 Member(MemberDefinition member, String value, ContextStack stack, CompoundType enclosing) argument 2625 init(ContextStack stack, CompoundType enclosing) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | ScriptRun.java | 83 private int stack[]; // stack used to handle paired punctuation if encountered field in class:ScriptRun 172 // if it's an open character, push it onto the stack. 174 // stack, and use that script code. Any non-matching open 175 // characters above it on the stack will be popped. 178 if (stack == null) { 179 stack = new int[32]; 180 } else if (parenSP == stack.length) { 181 int[] newstack = new int[stack.length + 32]; 182 System.arraycopy(stack, [all...] |
/openjdk7/hotspot/src/cpu/zero/vm/ |
H A D | cppInterpreter_zero.cpp | 78 // No deoptimized frames on the stack 84 ZeroStack *stack = thread->zero_stack(); local 119 // Trim back the stack to put the parameters at the top 120 stack->set_sp(istate->stack() + 1); 127 istate->set_stack(stack->sp() - 1); 129 // Restore the stack 130 stack->set_sp(istate->stack_limit() + 1); 139 stack->overflow_check(monitor_words, THREAD); 142 stack 204 ZeroStack *stack = thread->zero_stack(); local 471 ZeroStack *stack = thread->zero_stack(); local 599 ZeroStack *stack = thread->zero_stack(); local 618 ZeroStack *stack = thread->zero_stack(); local 632 ZeroStack *stack = thread->zero_stack(); local 649 calculate_unwind_sp(ZeroStack* stack, oop method_handle) argument 665 ZeroStack *stack = thread->zero_stack(); local 888 ZeroStack *stack = ((JavaThread *) THREAD)->zero_stack(); local 950 intptr_t *stack = stack_base - tempcount - 1; local 966 layout_interpreterState(interpreterState istate, frame* caller, frame* current, methodOop method, intptr_t* locals, intptr_t* stack, intptr_t* stack_base, intptr_t* monitor_base, intptr_t* frame_bottom, bool is_top_frame) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/agent/ |
H A D | SnmpMibAgentMBean.java | 163 * @param stack The SNMP MIB handler. 165 public void setSnmpAdaptor(SnmpMibHandler stack); argument 174 * @param stack The SNMP MIB handler. 179 public void setSnmpAdaptor(SnmpMibHandler stack, SnmpOid[] oids); argument 186 * @param stack The SNMP MIB handler. 194 public void setSnmpAdaptor(SnmpMibHandler stack, String contextName); argument 201 * @param stack The SNMP MIB handler. 209 public void setSnmpAdaptor(SnmpMibHandler stack, argument
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | JavaSecurityAccess.java | 34 AccessControlContext stack, 33 doIntersectionPrivilege(PrivilegedAction<T> action, AccessControlContext stack, AccessControlContext context) argument
|
/openjdk7/jdk/src/share/classes/javax/swing/text/html/parser/ |
H A D | Parser.java | 98 private TagStack stack; field in class:Parser 313 System.out.println("**** " + stack); 330 if ((!space) || (stack == null) || last.breaksFlow() || 331 !stack.advance(dtd.pcdata)) { 391 * onto the tag stack. The attribute list is 436 stack = new TagStack(tag, stack); 443 * from the tag stack. 446 handleText(stack.tag); 448 if (omitted && !stack [all...] |
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/ |
H A D | ThreadDump.java | 68 public static void printStack(StackTraceElement[] stack) { argument 69 System.out.println(INDENT + "Stack: (length = " + stack.length + ")"); 70 for (int j = 0; j < stack.length; j++) { 71 System.out.println(INDENT + INDENT + stack[j]); 77 // Get stack traces of all Threads 86 StackTraceElement[] stack = (StackTraceElement[]) entry.getValue(); 88 printStack(stack);
|
H A D | ThreadStackTrace.java | 85 System.out.println("Checking stack trace for the examiner thread " + 91 // Check that the stack is returned correctly for a new thread 106 // Check that the stack is returned correctly for a terminated thread 117 private static void printStack(Thread t, StackTraceElement[] stack) { argument 119 " stack: (length = " + stack.length + ")"); 121 for (int j = 0; j < stack.length; j++) { 122 System.out.println(INDENT + stack[j]); 131 StackTraceElement[] stack = ti.getStackTrace(); 134 printStack(t, stack); [all...] |
/openjdk7/jdk/make/tools/src/build/tools/dtdbuilder/ |
H A D | DTDInputStream.java | 51 public Stack stack = new Stack(); field in class:DTDInputStream 95 stack.push(new Integer(ln)); 96 stack.push(new Integer(ch)); 97 stack.push(this.in); 104 * a stream of the stack if the EOF is reached. Also replaces 170 if (stack.size() > 0) { 171 in = (Reader)stack.pop(); 172 ch = ((Integer)stack.pop()).intValue(); 173 ln = ((Integer)stack.pop()).intValue();
|
/openjdk7/hotspot/src/share/vm/shark/ |
H A D | sharkStateScanner.hpp | 39 : SharkTargetInvariants(function), _stack(function->stack()) {} 45 SharkStack* stack() const { function in class:SharkStateScanner
|
H A D | sharkNativeWrapper.cpp | 51 // Create and push our stack frame 60 SharkStack::oopmap_slot_munge(stack()->oopmap_frame_size()), 62 oopmap->set_oop(SharkStack::slot2reg(stack()->method_slot_offset())); 71 _oop_tmp_slot = stack()->slot_addr( 72 stack()->oop_tmp_slot_offset(), 76 oopmap->set_oop(SharkStack::slot2reg(stack()->oop_tmp_slot_offset())); 110 _receiver_slot_offset = stack()->oop_tmp_slot_offset(); 121 int slot_offset = stack()->locals_slots_offset() + arg_size() - 1 - i; 137 box = stack()->slot_addr(slot_offset, SharkType::oop_type()); 177 builder()->CreateLoad(stack() [all...] |
H A D | sharkCacheDecache.cpp | 41 oopmap_slot_munge(stack()->oopmap_frame_size()), 47 // Create the array we'll record our stack slots in 50 // Set the stack pointer 51 stack()->CreateStoreStackPointer( 53 stack()->slot_addr( 54 stack()->stack_slots_offset() + max_stack() - stack_depth), 121 stack()->slot_addr(offset)); 193 stack()->slot_addr(box_offset, SharkType::intptr_type())); 197 stack()->slot_addr(obj_offset, SharkType::oop_type())); 260 builder()->CreateStore(value, stack() [all...] |
H A D | sharkState.cpp | 56 SharkValue *value = state->stack(i); 106 // Expression stack 108 SharkValue *value = stack(i); 109 SharkValue *other_value = other->stack(i); 168 // Expression stack 171 SharkValue *this_value = this->stack(i); 172 SharkValue *other_value = other->stack(i); 193 // Expression stack 195 if (stack(i) == old_value) 203 assert(!block->stack_depth_at_entry(), "entry block shouldn't have stack"); [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/logging/ |
H A D | LogWrapperBase.java | 60 // Get the stack trace. 61 StackTraceElement stack[] = (new Throwable()).getStackTrace(); 66 // The top of the stack should always be a method in the wrapper class, 70 while (ix < stack.length) { 71 frame = stack[ix]; 80 // Set the class and method if we are not past the end of the stack 82 if (ix < stack.length) {
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/ |
H A D | OopMapCacheEntry.java | 58 CellTypeStateList stack, 70 // switch to stack when done with locals 72 curList = stack; 85 Assert.that(verifyMask(vars, stack, maxLocals, stackTop), "mask could not be verified"); 132 boolean verifyMask(CellTypeStateList vars, CellTypeStateList stack, int maxLocals, int stackTop) { argument 149 boolean v2 = stack.get(j).isReference(); 151 Assert.that(v1 == v2, "stack oop mask generation error"); 57 setMask(CellTypeStateList vars, CellTypeStateList stack, int stackTop) argument
|
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | stackMapTable.cpp | 253 VerificationType* stack = NEW_RESOURCE_ARRAY_IN_THREAD( local 256 stack[0] = parse_verification_type(NULL, CHECK_VERIFY_(_verifier, NULL)); 257 if (stack[0].is_category2()) { 258 stack[1] = stack[0].to_category2_2nd(); 265 max_locals, max_stack, locals, stack, _verifier); 293 VerificationType* stack = NEW_RESOURCE_ARRAY_IN_THREAD( local 296 stack[0] = parse_verification_type(NULL, CHECK_VERIFY_(_verifier, NULL)); 297 if (stack[0].is_category2()) { 298 stack[ 406 VerificationType* stack = NULL; local [all...] |
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Data/src/com/sun/hotspot/igv/data/serialization/ |
H A D | XMLParser.java | 185 private Stack<ElementHandler> stack; field in class:XMLParser 189 this.stack = new Stack<ElementHandler>(); 191 this.stack.push(rootHandler); 214 assert !stack.isEmpty(); 215 ElementHandler parent = stack.peek(); 220 stack.push(child); 225 stack.push(null); 229 ElementHandler handler = stack.pop(); 237 assert !stack.isEmpty(); 240 ElementHandler top = stack [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/ |
H A D | StackMapTable_attribute.java | 145 stack = new verification_type_info[1]; 146 stack[0] = verification_type_info.read(cr); 151 return super.length() + stack[0].length(); 162 public final verification_type_info[] stack; field in class:StackMapTable_attribute.same_locals_1_stack_item_frame 170 stack = new verification_type_info[1]; 171 stack[0] = verification_type_info.read(cr); 176 return super.length() + 2 + stack[0].length(); 188 public final verification_type_info[] stack; field in class:StackMapTable_attribute.same_locals_1_stack_item_frame_extended 275 stack = new verification_type_info[number_of_stack_items]; 276 for (int i = 0; i < stack 303 public final verification_type_info[] stack; field in class:StackMapTable_attribute.full_frame [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/relaxng/ |
H A D | TypePatternBinder.java | 50 private final Stack<Boolean> stack = new Stack<Boolean>(); field in class:TypePatternBinder 60 stack.clear(); 133 stack.push(canInherit); 138 canInherit = stack.pop();
|