Lines Matching refs:cpool

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,
501 KlassHandle klass(THREAD, constantPoolOopDesc::klass_at_if_loaded(cpool, index));
507 // We have to lock the cpool to keep the oop from being resolved
509 ObjectLocker ol(cpool, THREAD);
511 constantTag tag = cpool->tag_at(index);
515 klass = KlassHandle(THREAD, cpool->resolved_klass_at(index));
517 klass_name = cpool->symbol_at(index);
519 assert(cpool->tag_at(index).is_unresolved_klass(), "wrong tag");
520 klass_name = cpool->unresolved_klass_at(index);
528 cpool,
535 get_klass_by_name_impl(accessor, cpool, k->name(), true) == NULL) {
563 ciKlass* ciEnv::get_klass_by_index(constantPoolHandle cpool,
567 GUARDED_VM_ENTRY(return get_klass_by_index_impl(cpool, index, is_accessible, accessor);)
574 ciConstant ciEnv::get_constant_by_index_impl(constantPoolHandle cpool,
582 ConstantPoolCacheEntry* cpc_entry = cpool->cache()->entry_at(cache_index);
591 constantTag tag = cpool->tag_at(index);
593 return ciConstant(T_INT, (jint)cpool->int_at(index));
595 return ciConstant((jlong)cpool->long_at(index));
597 return ciConstant((jfloat)cpool->float_at(index));
599 return ciConstant((jdouble)cpool->double_at(index));
602 if (cpool->is_pseudo_string_at(index)) {
603 string = cpool->pseudo_string_at(index);
605 string = cpool->string_at(index, THREAD);
617 ciKlass* klass = get_klass_by_index_impl(cpool, index, ignore_will_link, accessor);
627 oop obj = cpool->object_at(index);
633 ciSymbol* signature = get_symbol(cpool->method_type_signature_at(index));
638 int ref_kind = cpool->method_handle_ref_kind_at(index);
639 int callee_index = cpool->method_handle_klass_index_at(index);
640 ciKlass* callee = get_klass_by_index_impl(cpool, callee_index, ignore_will_link, accessor);
641 ciSymbol* name = get_symbol(cpool->method_handle_name_ref_at(index));
642 ciSymbol* signature = get_symbol(cpool->method_handle_signature_ref_at(index));
657 ciConstant ciEnv::get_constant_by_index(constantPoolHandle cpool,
660 GUARDED_VM_ENTRY(return get_constant_by_index_impl(cpool, pool_index, cache_index, accessor);)
738 ciMethod* ciEnv::get_method_by_index_impl(constantPoolHandle cpool,
742 ConstantPoolCacheEntry* secondary_entry = cpool->cache()->secondary_entry_at(index);
761 ciSymbol* signature = get_symbol(cpool->signature_ref_at(index));
764 const int holder_index = cpool->klass_ref_index_at(index);
766 ciKlass* holder = get_klass_by_index_impl(cpool, holder_index, holder_is_accessible, accessor);
770 Symbol* name_sym = cpool->name_ref_at(index);
771 Symbol* sig_sym = cpool->signature_ref_at(index);
773 if (cpool->has_preresolution()
785 methodOop m = constantPoolOopDesc::method_at_if_loaded(cpool, index);
843 ciMethod* ciEnv::get_method_by_index(constantPoolHandle cpool,
846 GUARDED_VM_ENTRY(return get_method_by_index_impl(cpool, index, bc, accessor);)