comparison src/share/vm/oops/compiledICHolderKlass.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
152 PSParallelCompact::adjust_pointer(p, beg_addr, end_addr); 152 PSParallelCompact::adjust_pointer(p, beg_addr, end_addr);
153 return c->object_size(); 153 return c->object_size();
154 } 154 }
155 #endif // SERIALGC 155 #endif // SERIALGC
156 156
157 #ifndef PRODUCT
158
159 // Printing 157 // Printing
160 158
161 void compiledICHolderKlass::oop_print_on(oop obj, outputStream* st) { 159 void compiledICHolderKlass::oop_print_on(oop obj, outputStream* st) {
162 assert(obj->is_compiledICHolder(), "must be compiledICHolder"); 160 assert(obj->is_compiledICHolder(), "must be compiledICHolder");
163 Klass::oop_print_on(obj, st); 161 Klass::oop_print_on(obj, st);
164 compiledICHolderOop c = compiledICHolderOop(obj); 162 compiledICHolderOop c = compiledICHolderOop(obj);
165 st->print(" - method: "); c->holder_method()->print_value_on(st); st->cr(); 163 st->print(" - method: "); c->holder_method()->print_value_on(st); st->cr();
166 st->print(" - klass: "); c->holder_klass()->print_value_on(st); st->cr(); 164 st->print(" - klass: "); c->holder_klass()->print_value_on(st); st->cr();
167 } 165 }
168
169 #endif //PRODUCT
170 166
171 void compiledICHolderKlass::oop_print_value_on(oop obj, outputStream* st) { 167 void compiledICHolderKlass::oop_print_value_on(oop obj, outputStream* st) {
172 assert(obj->is_compiledICHolder(), "must be compiledICHolder"); 168 assert(obj->is_compiledICHolder(), "must be compiledICHolder");
173 Klass::oop_print_value_on(obj, st); 169 Klass::oop_print_value_on(obj, st);
174 } 170 }