< prev index next >

src/share/vm/runtime/sharedRuntime.cpp

Print this page

        

@@ -1127,10 +1127,12 @@
           if (!MethodHandles::is_signature_polymorphic_method(attached_method())) {
             bc = attached_method->is_static() ? Bytecodes::_invokestatic
                                               : Bytecodes::_invokevirtual;
           }
           break;
+        default:
+          break;
       }
     }
   } else {
     bc = bytecode.invoke_code();
   }

@@ -1377,11 +1379,11 @@
     // Don't update call site if callee nmethod was unloaded or deoptimized.
     // Don't update call site if callee nmethod was replaced by an other nmethod
     // which may happen when multiply alive nmethod (tiered compilation)
     // will be supported.
     if (!callee_method->is_old() &&
-        (callee == NULL || callee->is_in_use() && (callee_method->code() == callee))) {
+        (callee == NULL || (callee->is_in_use() && callee_method->code() == callee))) {
 #ifdef ASSERT
       // We must not try to patch to jump to an already unloaded method.
       if (dest_entry_point != 0) {
         CodeBlob* cb = CodeCache::find_blob(dest_entry_point);
         assert((cb != NULL) && cb->is_compiled() && (((CompiledMethod*)cb) == callee),

@@ -3166,6 +3168,5 @@
       fr = fr.java_sender();
     }
   }
   return activation;
 }
-
< prev index next >