Searched defs:cpool (Results 1 - 25 of 25) sorted by relevance

/openjdk7/hotspot/src/share/vm/ci/
H A DciSignature.cpp39 ciSignature::ciSignature(ciKlass* accessing_klass, constantPoolHandle cpool, ciSymbol* symbol) { argument
68 type = env->get_klass_by_name_impl(_accessing_klass, cpool, klass_name, false);
H A DciStreams.cpp189 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 DciMethod.cpp128 constantPoolHandle cpool = h_m()->constants(); local
129 _signature = new (env->arena()) ciSignature(_holder, cpool, sig_symbol);
H A DciEnv.cpp374 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...]
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DBinaryAttribute.java58 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 DBinaryCode.java41 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 DBinaryClass.java44 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 DBinaryConstantPool.java45 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...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/jcore/
H A DByteCodeRewriter.java36 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();
H A DClassWriter.java42 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...]
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dinterp_masm_x86_32.hpp83 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 Dinterp_masm_x86_64.hpp102 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/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DLocalVariableTypeTable.java71 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/src/share/vm/prims/
H A DjvmtiClassFileReconstituter.hpp42 constantPoolHandle cpool() { return _cpool; }; function in class:JvmtiConstantPoolReconstituter
91 cpool()->copy_cpool_bytes(cpool_size(), _symmap, cpool_bytes);
/openjdk7/hotspot/src/share/vm/interpreter/
H A Drewriter.cpp407 void Rewriter::rewrite(instanceKlassHandle klass, constantPoolHandle cpool, objArrayHandle methods, TRAPS) { argument
409 Rewriter rw(klass, cpool, methods, CHECK);
414 Rewriter::Rewriter(instanceKlassHandle klass, constantPoolHandle cpool, objArrayHandle methods, TRAPS) argument
416 _pool(cpool),
H A DinterpreterRuntime.cpp241 constantPoolOop cpool = method(thread)->constants(); variable
245 // assert( cpool->tag_at(which).is_unresolved_klass(), "should only come here to quicken bytecodes" );
246 klassOop klass = cpool->klass_at(which, CHECK);
/openjdk7/hotspot/src/share/vm/oops/
H A DcpCacheOop.cpp268 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 DconstantPoolOop.cpp269 methodOop constantPoolOopDesc::method_at_if_loaded(constantPoolHandle cpool, argument
272 if (cpool->cache() == NULL) return NULL; // nothing to load yet
274 ConstantPoolCacheEntry* e = cpool->cache()->entry_at(cache_index);
275 return e->method_if_resolved(cpool);
279 bool constantPoolOopDesc::has_appendix_at_if_loaded(constantPoolHandle cpool, int which) { argument
280 if (cpool->cache() == NULL) return false; // nothing to load yet
282 ConstantPoolCacheEntry* e = cpool->cache()->entry_at(cache_index);
287 oop constantPoolOopDesc::appendix_at_if_loaded(constantPoolHandle cpool, int which) { argument
288 if (cpool->cache() == NULL) return NULL; // nothing to load yet
290 ConstantPoolCacheEntry* e = cpool
295 has_method_type_at_if_loaded(constantPoolHandle cpool, int which) argument
302 method_type_at_if_loaded(constantPoolHandle cpool, int which) argument
[all...]
/openjdk7/jdk/test/tools/pack200/pack200-verifier/src/xmlkit/
H A DClassSyntax.java431 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/demo/jvmti/hprof/
H A Dhprof_reference.c333 ConstantPoolValue *cpool; local
399 cpool = NULL;
486 cpool = (ConstantPoolValue*)stack_element(cpool_values, 0);
492 (jint)size, cpool_count, cpool, n_fields, fields, fvalues);
H A Dhprof_io.c1537 jint n_cpool, ConstantPoolValue *cpool,
1603 type_from_signature(string_get(cpool[i].sig_index),
1605 heap_u2((unsigned short)(cpool[i].constant_pool_index));
1608 heap_element(kind, size, cpool[i].value);
1686 type_from_signature(string_get(cpool[i].sig_index), &kind, &size);
1688 if (cpool[i].value.i != 0 ) {
1690 cpool[i].constant_pool_index, cpool[i].value.i);
1532 io_heap_class_dump(ClassIndex cnum, char *sig, ObjectIndex class_id, SerialNumber trace_serial_num, ObjectIndex super_id, ObjectIndex loader_id, ObjectIndex signers_id, ObjectIndex domain_id, jint size, jint n_cpool, ConstantPoolValue *cpool, jint n_fields, FieldInfo *fields, jvalue *fvalues) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/
H A DHTMLGenerator.java485 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/memory/
H A Ddump.cpp804 constantPoolOop cpool = (constantPoolOop)obj; local
805 int unresolved = cpool->pre_resolve_shared_klasses(THREAD);
/openjdk7/jdk/src/share/demo/jvmti/java_crw_demo/
H A Djava_crw_demo.c146 CrwConstantPoolEntry * cpool; member in struct:CrwClassImage
521 ci->cpool[i].tag = tag;
522 ci->cpool[i].index1 = index1;
523 ci->cpool[i].index2 = index2;
524 ci->cpool[i].ptr = ptr;
525 ci->cpool[i].len = (unsigned short)len;
633 return ci->cpool[c_index];
648 ci->cpool = (CrwConstantPoolEntry*)allocate_clean(ci,
2216 if ( ci->cpool != NULL ) {
2219 if ( ci->cpool[
[all...]
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dunpack.h32 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(); }

Completed in 262 milliseconds