214 m->stackmap_data()->print_value_on(st); |
214 m->stackmap_data()->print_value_on(st); |
215 st->cr(); |
215 st->cr(); |
216 } |
216 } |
217 } |
217 } |
218 |
218 |
|
219 #endif //PRODUCT |
219 |
220 |
220 // Short version of printing constMethodOop - just print the name of the |
221 // Short version of printing constMethodOop - just print the name of the |
221 // method it belongs to. |
222 // method it belongs to. |
222 void constMethodKlass::oop_print_value_on(oop obj, outputStream* st) { |
223 void constMethodKlass::oop_print_value_on(oop obj, outputStream* st) { |
223 assert(obj->is_constMethod(), "must be constMethod"); |
224 assert(obj->is_constMethod(), "must be constMethod"); |
224 constMethodOop m = constMethodOop(obj); |
225 constMethodOop m = constMethodOop(obj); |
225 st->print(" const part of method " ); |
226 st->print(" const part of method " ); |
226 m->method()->print_value_on(st); |
227 m->method()->print_value_on(st); |
227 } |
228 } |
228 |
|
229 #endif // PRODUCT |
|
230 |
229 |
231 const char* constMethodKlass::internal_name() const { |
230 const char* constMethodKlass::internal_name() const { |
232 return "{constMethod}"; |
231 return "{constMethod}"; |
233 } |
232 } |
234 |
233 |