/openjdk7/jdk/src/share/classes/sun/tools/java/ |
H A D | BinaryCode.java | 41 BinaryConstantPool cpool; // constant pool of the class field in class:BinaryCode 49 BinaryCode(byte data[], BinaryConstantPool cpool, Environment env) { argument 52 this.cpool = cpool; 73 ClassDeclaration xclass = cpool.getDeclaration(env, in.readUnsignedShort()); 77 this.atts = BinaryAttribute.load(in, cpool, ~0); 107 BinaryCode load(BinaryMember bf, BinaryConstantPool cpool, Environment env) { argument 109 return (code != null) ? new BinaryCode(code, cpool, env) : null;
|
H A D | BinaryConstantPool.java | 45 private Object cpool[]; field in class:BinaryConstantPool 53 cpool = new Object[types.length]; 54 for (int i = 1 ; i < cpool.length ; i++) { 59 cpool[i] = in.readUTF(); 63 cpool[i] = new Integer(in.readInt()); 66 cpool[i] = new Float(in.readFloat()); 69 cpool[i++] = new Long(in.readLong()); 72 cpool[i++] = new Double(in.readDouble()); 79 cpool[i] = new Integer(in.readUnsignedShort()); 87 cpool[ [all...] |
H A D | BinaryClass.java | 44 BinaryConstantPool cpool; field in class:BinaryClass 134 BinaryConstantPool cpool = new BinaryConstantPool(in); 137 Vector dependencies = cpool.getDependencies(env); 143 ClassDeclaration classDecl = cpool.getDeclaration(env, in.readUnsignedShort()); 146 ClassDeclaration superClassDecl = cpool.getDeclaration(env, in.readUnsignedShort()); 152 interfaces[i] = cpool.getDeclaration(env, in.readUnsignedShort()); 158 c.cpool = cpool; 169 Identifier fieldName = cpool.getIdentifier(in.readUnsignedShort()); 171 Type fieldType = cpool [all...] |
H A D | BinaryAttribute.java | 58 public static BinaryAttribute load(DataInputStream in, BinaryConstantPool cpool, int mask) throws IOException { argument 64 Identifier id = cpool.getIdentifier(in.readUnsignedShort()); 82 BinaryConstantPool cpool, Environment env) throws IOException { 94 out.writeShort(cpool.indexString(name.toString(), env)); 81 write(BinaryAttribute attributes, DataOutputStream out, BinaryConstantPool cpool, Environment env) argument
|
H A D | BinaryMember.java | 108 BinaryConstantPool cpool = ((BinaryClass)getClassDefinition()).getConstants(); 115 exp[i] = cpool.getDeclaration(env, in.readUnsignedShort()); 177 BinaryConstantPool cpool = ((BinaryClass)getClassDefinition()).getConstants(); 179 Object obj = cpool.getValue(new DataInputStream(new ByteArrayInputStream(data)).readUnsignedShort()); 200 setValue(new StringExpression(0, (String)cpool.getValue(((Number)obj).intValue()))); 257 ((BinaryClass)(this.clazz)).cpool.indexString(name.toString(), env);
|
/openjdk7/hotspot/src/share/vm/ci/ |
H A D | ciStreams.cpp | 189 constantPoolHandle cpool(_method->get_methodOop()->constants()); 190 return CURRENT_ENV->get_klass_by_index(cpool, get_klass_index(), will_link, _holder); 245 constantPoolHandle cpool(_method->get_methodOop()->constants()); 246 return CURRENT_ENV->get_constant_by_index(cpool, pool_index, cache_index, _holder); 298 constantPoolHandle cpool(_method->get_methodOop()->constants()); 301 return CURRENT_ENV->get_klass_by_index(cpool, holder_index, ignore, _holder) 313 constantPoolOop cpool = _holder->get_instanceKlass()->constants(); 314 return cpool->klass_ref_index_at(get_field_index()); 326 constantPoolOop cpool = _holder->get_instanceKlass()->constants(); local 327 int nt_index = cpool 457 constantPoolOop cpool = _method->get_methodOop()->constants(); local 482 constantPoolOop cpool = _holder->get_instanceKlass()->constants(); local 495 constantPoolOop cpool = _holder->get_instanceKlass()->constants(); local [all...] |
H A D | ciExceptionHandler.cpp | 43 constantPoolHandle cpool(_loading_klass->get_instanceKlass()->constants()); 44 ciKlass* k = CURRENT_ENV->get_klass_by_index(cpool,
|
H A D | ciEnv.cpp | 374 constantPoolHandle cpool, 390 return get_klass_by_name_impl(accessing_klass, cpool, strippedname, require_local); 447 cpool, 456 if (found_klass() == NULL && !cpool.is_null() && cpool->has_preresolution()) { 458 for (int i = cpool->length() - 1; i >= 1; i--) { 459 if (cpool->tag_at(i).is_klass()) { 460 klassOop kls = cpool->resolved_klass_at(i); 496 ciKlass* ciEnv::get_klass_by_index_impl(constantPoolHandle cpool, argument 501 KlassHandle klass(THREAD, constantPoolOopDesc::klass_at_if_loaded(cpool, inde 373 get_klass_by_name_impl(ciKlass* accessing_klass, constantPoolHandle cpool, ciSymbol* name, bool require_local) argument 563 get_klass_by_index(constantPoolHandle cpool, int index, bool& is_accessible, ciInstanceKlass* accessor) argument 574 get_constant_by_index_impl(constantPoolHandle cpool, int pool_index, int cache_index, ciInstanceKlass* accessor) argument 657 get_constant_by_index(constantPoolHandle cpool, int pool_index, int cache_index, ciInstanceKlass* accessor) argument 738 get_method_by_index_impl(constantPoolHandle cpool, int index, Bytecodes::Code bc, ciInstanceKlass* accessor) argument 843 get_method_by_index(constantPoolHandle cpool, int index, Bytecodes::Code bc, ciInstanceKlass* accessor) argument [all...] |
H A D | ciField.cpp | 79 constantPoolHandle cpool(thread, klass->get_instanceKlass()->constants()); 82 Symbol* name = cpool->name_ref_at(index); 85 int nt_index = cpool->name_and_type_ref_index_at(index); 86 int sig_index = cpool->signature_ref_index_at(nt_index); 87 Symbol* signature = cpool->symbol_at(sig_index); 98 _type = ciEnv::current(thread)->get_klass_by_index(cpool, sig_index, ignore, klass); 109 int holder_index = cpool->klass_ref_index_at(index); 112 ciEnv::current(thread)->get_klass_by_index(cpool, holder_index,
|
H A D | ciEnv.hpp | 125 ciKlass* get_klass_by_index(constantPoolHandle cpool, 129 ciConstant get_constant_by_index(constantPoolHandle cpool, 134 ciMethod* get_method_by_index(constantPoolHandle cpool, 140 constantPoolHandle cpool, 143 ciKlass* get_klass_by_index_impl(constantPoolHandle cpool, 147 ciConstant get_constant_by_index_impl(constantPoolHandle cpool, 152 ciMethod* get_method_by_index_impl(constantPoolHandle cpool,
|
H A D | ciSignature.hpp | 49 ciSignature(ciKlass* accessing_klass, constantPoolHandle cpool, ciSymbol* signature);
|
H A D | ciSignature.cpp | 39 ciSignature::ciSignature(ciKlass* accessing_klass, constantPoolHandle cpool, ciSymbol* symbol) { argument 68 type = env->get_klass_by_name_impl(_accessing_klass, cpool, klass_name, false);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/ |
H A D | BytecodeLoadConstant.java | 124 ConstantPool cpool = method().getConstants(); 126 ConstantPool.CPSlot oop = cpool.getSlotAt(cpIndex); 155 ConstantPool cpool = method().getConstants(); 157 ConstantTag ctag = cpool.getTagAt(cpIndex); 159 return "<int " + Integer.toString(cpool.getIntAt(cpIndex)) +">"; 161 return "<long " + Long.toString(cpool.getLongAt(cpIndex)) + "L>"; 163 return "<float " + Float.toString(cpool.getFloatAt(cpIndex)) + "F>"; 165 return "<double " + Double.toString(cpool.getDoubleAt(cpIndex)) + "D>"; 170 ConstantPool.CPSlot obj = cpool.getSlotAt(cpIndex); 183 ConstantPool.CPSlot obj = cpool [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/jcore/ |
H A D | ClassWriter.java | 42 protected ConstantPool cpool; field in class:ClassWriter 76 cpool = klass.getConstants(); 110 final TypeArray tags = cpool.getTags(); 123 Symbol sym = cpool.getSymbolAt(ci); 191 Symbol sym = cpool.getSymbolAt(ci); 203 dos.writeInt(cpool.getIntAt(ci)); 204 if (DEBUG) debugMessage("CP[" + ci + "] = int " + cpool.getIntAt(ci)); 209 dos.writeFloat(cpool.getFloatAt(ci)); 210 if (DEBUG) debugMessage("CP[" + ci + "] = float " + cpool.getFloatAt(ci)); 215 long l = cpool [all...] |
H A D | ByteCodeRewriter.java | 36 private ConstantPool cpool; field in class:ByteCodeRewriter 48 public ByteCodeRewriter(Method method, ConstantPool cpool, byte[] code) { argument 50 this.cpool = cpool; 51 this.cpCache = cpool.getCache();
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | LocalVariableTypeTable.java | 71 LocalVariableTypeTable(int nameIdx, int len, DataInputStream dis,ConstantPool cpool) throws IOException { argument 72 this(nameIdx, len, (LocalVariable[])null, cpool); 78 local_variable_type_table[i] = new LocalVariable(dis, cpool);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/ |
H A D | HTMLGenerator.java | 485 protected String genHTMLTableForConstantPool(ConstantPool cpool) { argument 495 final int length = (int) cpool.getLength(); 501 int ctag = (int) cpool.getTags().getByteAt((int) index); 505 buf.cell(Integer.toString(cpool.getIntAt(index))); 510 buf.cell(Float.toString(cpool.getFloatAt(index))); 515 buf.cell(Long.toString(cpool.getLongAt(index))); 522 buf.cell(Double.toString(cpool.getDoubleAt(index))); 529 buf.cell(cpool.getSymbolAt(index).asString()); 534 buf.cell(cpool.getSymbolAt(index).asString()); 539 Klass klass = (Klass) cpool 624 genHTML(ConstantPool cpool) argument 639 genConstantPoolHref(ConstantPool cpool) argument 643 genConstantPoolTitle(ConstantPool cpool) argument 652 genConstantPoolLink(ConstantPool cpool) argument [all...] |
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | cpCacheOop.cpp | 268 void ConstantPoolCacheEntry::set_method_handle(constantPoolHandle cpool, argument 272 set_method_handle_common(cpool, Bytecodes::_invokehandle, adapter, appendix, method_type); 275 void ConstantPoolCacheEntry::set_dynamic_call(constantPoolHandle cpool, argument 279 set_method_handle_common(cpool, Bytecodes::_invokedynamic, adapter, appendix, method_type); 282 void ConstantPoolCacheEntry::set_method_handle_common(constantPoolHandle cpool, argument 296 ObjectLocker ol(cpool, THREAD); 351 ConstantPoolCacheEntry* e2 = cpool->cache()->find_secondary_entry_for(this); 377 methodOop ConstantPoolCacheEntry::method_if_resolved(constantPoolHandle cpool) { argument 410 int holder_index = cpool->uncached_klass_ref_index_at(constant_pool_index()); 411 if (cpool 428 appendix_if_resolved(constantPoolHandle cpool) argument 435 method_type_if_resolved(constantPoolHandle cpool) argument [all...] |
H A D | cpCacheOop.hpp | 226 constantPoolHandle cpool, // holding constant pool (required for locking) 233 constantPoolHandle cpool, // holding constant pool (required for locking) 255 constantPoolHandle cpool, // holding constant pool (required for locking) 262 methodOop method_if_resolved(constantPoolHandle cpool); 263 oop appendix_if_resolved(constantPoolHandle cpool); 264 oop method_type_if_resolved(constantPoolHandle cpool);
|
/openjdk7/hotspot/src/share/vm/interpreter/ |
H A D | rewriter.hpp | 84 Rewriter(instanceKlassHandle klass, constantPoolHandle cpool, objArrayHandle methods, TRAPS); 101 static void rewrite(instanceKlassHandle klass, constantPoolHandle cpool, objArrayHandle methods, TRAPS);
|
/openjdk7/hotspot/src/share/vm/prims/ |
H A D | jvmtiClassFileReconstituter.hpp | 42 constantPoolHandle cpool() { return _cpool; }; function in class:JvmtiConstantPoolReconstituter 91 cpool()->copy_cpool_bytes(cpool_size(), _symmap, cpool_bytes);
|
/openjdk7/hotspot/src/cpu/x86/vm/ |
H A D | interp_masm_x86_32.hpp | 83 void get_cpool_and_tags(Register cpool, Register tags) { get_constant_pool(cpool); movptr(tags, Address(cpool, constantPoolOopDesc::tags_offset_in_bytes())); argument
|
H A D | interp_masm_x86_64.hpp | 102 void get_cpool_and_tags(Register cpool, Register tags) { argument 103 get_constant_pool(cpool); 104 movptr(tags, Address(cpool, constantPoolOopDesc::tags_offset_in_bytes()));
|
/openjdk7/jdk/test/tools/pack200/pack200-verifier/src/xmlkit/ |
H A D | ClassSyntax.java | 431 for (Element e : cpool.elements()) { 461 length = cpool.countAll(XMLKit.elementFilter(cpTagNames)); 463 for (Element md : cpool.findAllElements("Digest").elements()) { 469 cpool.add(md); 514 protected Element cpool; // <ConstantPool ...> field in class:ClassSyntax
|
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/ |
H A D | unpack.h | 32 struct cpool; 61 struct cpool { struct 220 cpool cp; // all constant pool information 489 inline void cpool::abort(const char* msg) { u->abort(msg); } 490 inline bool cpool::aborting() { return u->aborting(); }
|