Mercurial > hg > truffle
comparison src/share/vm/oops/constMethodKlass.cpp @ 1161:1fc01a2425ce
Merge
author | iveresov |
---|---|
date | Tue, 12 Jan 2010 13:54:40 -0800 |
parents | 4e6abf09f540 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1149:0579c695832f | 1161:1fc01a2425ce |
---|---|
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 |