hotspot/src/share/vm/code/nmethod.cpp
changeset 14488 ab48109f7d1b
parent 14391 df0a1573d5bd
child 16615 45c4ee9a9212
--- a/hotspot/src/share/vm/code/nmethod.cpp	Fri Nov 09 22:22:53 2012 -0800
+++ b/hotspot/src/share/vm/code/nmethod.cpp	Mon Nov 12 16:15:05 2012 -0500
@@ -2568,9 +2568,8 @@
     deps.print_dependency();
     Klass* ctxk = deps.context_type();
     if (ctxk != NULL) {
-      Klass* k = Klass::cast(ctxk);
-      if (k->oop_is_instance() && ((InstanceKlass*)k)->is_dependent_nmethod(this)) {
-        tty->print_cr("   [nmethod<=klass]%s", k->external_name());
+      if (ctxk->oop_is_instance() && ((InstanceKlass*)ctxk)->is_dependent_nmethod(this)) {
+        tty->print_cr("   [nmethod<=klass]%s", ctxk->external_name());
       }
     }
     deps.log_dependency();  // put it into the xml log also