src/share/vm/oops/cpCache.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/oops/cpCache.cpp

src/share/vm/oops/cpCache.cpp

Print this page

        

*** 404,423 **** return NULL; } oop ConstantPoolCacheEntry::appendix_if_resolved(constantPoolHandle cpool) { ! if (is_f1_null() || !has_appendix()) return NULL; const int ref_index = f2_as_index() + _indy_resolved_references_appendix_offset; objArrayOop resolved_references = cpool->resolved_references(); return resolved_references->obj_at(ref_index); } oop ConstantPoolCacheEntry::method_type_if_resolved(constantPoolHandle cpool) { ! if (is_f1_null() || !has_method_type()) return NULL; const int ref_index = f2_as_index() + _indy_resolved_references_method_type_offset; objArrayOop resolved_references = cpool->resolved_references(); return resolved_references->obj_at(ref_index); } --- 404,423 ---- return NULL; } oop ConstantPoolCacheEntry::appendix_if_resolved(constantPoolHandle cpool) { ! if (!has_appendix()) return NULL; const int ref_index = f2_as_index() + _indy_resolved_references_appendix_offset; objArrayOop resolved_references = cpool->resolved_references(); return resolved_references->obj_at(ref_index); } oop ConstantPoolCacheEntry::method_type_if_resolved(constantPoolHandle cpool) { ! if (!has_method_type()) return NULL; const int ref_index = f2_as_index() + _indy_resolved_references_method_type_offset; objArrayOop resolved_references = cpool->resolved_references(); return resolved_references->obj_at(ref_index); }
src/share/vm/oops/cpCache.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File