< prev index next >

src/hotspot/share/oops/klassVtable.cpp

Print this page

        

@@ -986,10 +986,11 @@
   }
   return true;
 }
 
 void klassVtable::dump_vtable() {
+  ResourceMark rm;
   tty->print_cr("vtable dump --");
   for (int i = 0; i < length(); i++) {
     Method* m = unchecked_method_at(i);
     if (m != NULL) {
       tty->print("      (%5d)  ", i);

@@ -1308,10 +1309,11 @@
   }
   return true;
 }
 
 void klassItable::dump_itable() {
+  ResourceMark rm;
   itableMethodEntry* ime = method_entry(0);
   tty->print_cr("itable dump --");
   for (int i = 0; i < _size_method_table; i++) {
     Method* m = ime->method();
     if (m != NULL) {
< prev index next >