hotspot/src/share/vm/oops/constMethodKlass.cpp
changeset 6176 4d9030fe341f
parent 5547 f4b087cbb361
child 6255 0cbe4eb819f0
equal deleted inserted replaced
6175:86dbf3cacacc 6176:4d9030fe341f
   195 
   195 
   196   return cm_oop->object_size();
   196   return cm_oop->object_size();
   197 }
   197 }
   198 #endif // SERIALGC
   198 #endif // SERIALGC
   199 
   199 
   200 #ifndef PRODUCT
       
   201 
       
   202 // Printing
   200 // Printing
   203 
   201 
   204 void constMethodKlass::oop_print_on(oop obj, outputStream* st) {
   202 void constMethodKlass::oop_print_on(oop obj, outputStream* st) {
   205   ResourceMark rm;
   203   ResourceMark rm;
   206   assert(obj->is_constMethod(), "must be constMethod");
   204   assert(obj->is_constMethod(), "must be constMethod");
   213     st->print(" - stackmap data:       ");
   211     st->print(" - stackmap data:       ");
   214     m->stackmap_data()->print_value_on(st);
   212     m->stackmap_data()->print_value_on(st);
   215     st->cr();
   213     st->cr();
   216   }
   214   }
   217 }
   215 }
   218 
       
   219 #endif //PRODUCT
       
   220 
   216 
   221 // Short version of printing constMethodOop - just print the name of the
   217 // Short version of printing constMethodOop - just print the name of the
   222 // method it belongs to.
   218 // method it belongs to.
   223 void constMethodKlass::oop_print_value_on(oop obj, outputStream* st) {
   219 void constMethodKlass::oop_print_value_on(oop obj, outputStream* st) {
   224   assert(obj->is_constMethod(), "must be constMethod");
   220   assert(obj->is_constMethod(), "must be constMethod");