hotspot/src/share/vm/runtime/compilationPolicy.cpp
changeset 14391 df0a1573d5bd
parent 13891 35dabd293e56
child 14477 95e66ea71f71
--- a/hotspot/src/share/vm/runtime/compilationPolicy.cpp	Thu Oct 04 14:55:57 2012 +0200
+++ b/hotspot/src/share/vm/runtime/compilationPolicy.cpp	Tue Nov 06 15:09:37 2012 -0500
@@ -627,7 +627,7 @@
   // negative filter: should send NOT be inlined?  returns NULL (--> inline) or rejection msg
   if (m->is_abstract()) return (_msg = "abstract method");
   // note: we allow ik->is_abstract()
-  if (!InstanceKlass::cast(m->method_holder())->is_initialized()) return (_msg = "method holder not initialized");
+  if (!m->method_holder()->is_initialized()) return (_msg = "method holder not initialized");
   if (m->is_native()) return (_msg = "native method");
   nmethod* m_code = m->code();
   if (m_code != NULL && m_code->code_size() > InlineSmallCode)