< prev index next >

src/hotspot/share/ci/ciMethod.cpp

Print this page

        

@@ -727,10 +727,11 @@
     // %%% Should upgrade this ciMethod API to look for 1 or 2 concrete methods.
   }
 
 #ifndef PRODUCT
   if (TraceDependencies && target() != NULL && target() != root_m->get_Method()) {
+    ResourceMark rm;
     tty->print("found a non-root unique target method");
     tty->print_cr("  context = %s", actual_recv->get_Klass()->external_name());
     tty->print("  method  = ");
     target->print_short_name(tty);
     tty->cr();
< prev index next >