hotspot/src/share/vm/oops/cpCache.cpp
changeset 22859 7b88983393b7
parent 21557 55115e0708f1
child 23515 f4872ef5df09
equal deleted inserted replaced
22858:f4a6f0eba875 22859:7b88983393b7
   361 
   361 
   362 Method* ConstantPoolCacheEntry::method_if_resolved(constantPoolHandle cpool) {
   362 Method* ConstantPoolCacheEntry::method_if_resolved(constantPoolHandle cpool) {
   363   // Decode the action of set_method and set_interface_call
   363   // Decode the action of set_method and set_interface_call
   364   Bytecodes::Code invoke_code = bytecode_1();
   364   Bytecodes::Code invoke_code = bytecode_1();
   365   if (invoke_code != (Bytecodes::Code)0) {
   365   if (invoke_code != (Bytecodes::Code)0) {
   366     Metadata* f1 = (Metadata*)_f1;
   366     Metadata* f1 = f1_ord();
   367     if (f1 != NULL) {
   367     if (f1 != NULL) {
   368       switch (invoke_code) {
   368       switch (invoke_code) {
   369       case Bytecodes::_invokeinterface:
   369       case Bytecodes::_invokeinterface:
   370         assert(f1->is_klass(), "");
   370         assert(f1->is_klass(), "");
   371         return klassItable::method_for_itable_index((Klass*)f1, f2_as_index());
   371         return klassItable::method_for_itable_index((Klass*)f1, f2_as_index());