Mercurial > hg > graal-compiler
comparison src/share/vm/oops/constMethodKlass.cpp @ 1681:126ea7725993
6953477: Increase portability and flexibility of building Hotspot
Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
author | bobv |
---|---|
date | Tue, 03 Aug 2010 08:13:38 -0400 |
parents | c18cbe5936b8 |
children | 7fcd5f39bd7a |
comparison
equal
deleted
inserted
replaced
1680:a64438a2b7e8 | 1681:126ea7725993 |
---|---|
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"); |