Lines Matching refs:cpool

389                                        const constantPoolHandle& cpool,
405 return get_klass_by_name_impl(accessing_klass, cpool, strippedname, require_local);
462 cpool,
471 if (found_klass == NULL && !cpool.is_null() && cpool->has_preresolution()) {
473 for (int i = cpool->length() - 1; i >= 1; i--) {
474 if (cpool->tag_at(i).is_klass()) {
475 Klass* kls = cpool->resolved_klass_at(i);
511 ciKlass* ciEnv::get_klass_by_index_impl(const constantPoolHandle& cpool,
519 if (cpool->tag_at(index).is_symbol()) {
520 klass_name = cpool->symbol_at(index);
523 klass = ConstantPool::klass_at_if_loaded(cpool, index);
526 klass_name = cpool->klass_name_at(index);
533 cpool,
540 get_klass_by_name_impl(accessor, cpool, k->name(), true) == NULL) {
568 ciKlass* ciEnv::get_klass_by_index(const constantPoolHandle& cpool,
572 GUARDED_VM_ENTRY(return get_klass_by_index_impl(cpool, index, is_accessible, accessor);)
579 ciConstant ciEnv::get_constant_by_index_impl(const constantPoolHandle& cpool,
587 oop obj = cpool->resolved_references()->obj_at(cache_index);
597 index = cpool->object_to_cp_index(cache_index);
599 constantTag tag = cpool->tag_at(index);
601 return ciConstant(T_INT, (jint)cpool->int_at(index));
603 return ciConstant((jlong)cpool->long_at(index));
605 return ciConstant((jfloat)cpool->float_at(index));
607 return ciConstant((jdouble)cpool->double_at(index));
611 if (cpool->is_pseudo_string_at(index)) {
612 string = cpool->pseudo_string_at(index, cache_index);
614 string = cpool->string_at(index, cache_index, THREAD);
630 ciKlass* klass = get_klass_by_index_impl(cpool, index, ignore_will_link, accessor);
641 ciSymbol* signature = get_symbol(cpool->method_type_signature_at(index));
646 int ref_kind = cpool->method_handle_ref_kind_at(index);
647 int callee_index = cpool->method_handle_klass_index_at(index);
648 ciKlass* callee = get_klass_by_index_impl(cpool, callee_index, ignore_will_link, accessor);
649 ciSymbol* name = get_symbol(cpool->method_handle_name_ref_at(index));
650 ciSymbol* signature = get_symbol(cpool->method_handle_signature_ref_at(index));
665 ciConstant ciEnv::get_constant_by_index(const constantPoolHandle& cpool,
668 GUARDED_VM_ENTRY(return get_constant_by_index_impl(cpool, pool_index, cache_index, accessor);)
747 ciMethod* ciEnv::get_method_by_index_impl(const constantPoolHandle& cpool,
751 ConstantPoolCacheEntry* cpce = cpool->invokedynamic_cp_cache_entry_at(index);
771 ciSymbol* signature = get_symbol(cpool->signature_ref_at(index));
774 const int holder_index = cpool->klass_ref_index_at(index);
776 ciKlass* holder = get_klass_by_index_impl(cpool, holder_index, holder_is_accessible, accessor);
779 Symbol* name_sym = cpool->name_ref_at(index);
780 Symbol* sig_sym = cpool->signature_ref_at(index);
782 if (cpool->has_preresolution()
794 Method* m = ConstantPool::method_at_if_loaded(cpool, index);
806 constantTag tag = cpool->tag_ref_at(index);
807 assert(accessor->get_instanceKlass() == cpool->pool_holder(), "not the pool holder?");
861 ciMethod* ciEnv::get_method_by_index(const constantPoolHandle& cpool,
864 GUARDED_VM_ENTRY(return get_method_by_index_impl(cpool, index, bc, accessor);)