< prev index next >

src/hotspot/share/ci/ciKlass.cpp

Print this page

232 // Implementation of the print method
233 void ciKlass::print_impl(outputStream* st) {
234   st->print(" name=");
235   print_name_on(st);
236   st->print(" loaded=%s", (is_loaded() ? "true" : "false"));
237 }
238 
239 // ------------------------------------------------------------------
240 // ciKlass::print_name
241 //
242 // Print the name of this klass
243 void ciKlass::print_name_on(outputStream* st) {
244   name()->print_symbol_on(st);
245 }
246 
247 const char* ciKlass::external_name() const {
248   GUARDED_VM_ENTRY(
249     return get_Klass()->external_name();
250   )
251 }





















232 // Implementation of the print method
233 void ciKlass::print_impl(outputStream* st) {
234   st->print(" name=");
235   print_name_on(st);
236   st->print(" loaded=%s", (is_loaded() ? "true" : "false"));
237 }
238 
239 // ------------------------------------------------------------------
240 // ciKlass::print_name
241 //
242 // Print the name of this klass
243 void ciKlass::print_name_on(outputStream* st) {
244   name()->print_symbol_on(st);
245 }
246 
247 const char* ciKlass::external_name() const {
248   GUARDED_VM_ENTRY(
249     return get_Klass()->external_name();
250   )
251 }
252 
253 // ------------------------------------------------------------------
254 // ciKlass::prototype_header_offset
255 juint ciKlass::prototype_header_offset() {
256   assert(is_loaded(), "must be loaded");
257 
258   VM_ENTRY_MARK;
259   Klass* this_klass = get_Klass();
260   return in_bytes(this_klass->prototype_header_offset());
261 }
262 
263 // ------------------------------------------------------------------
264 // ciKlass::prototype_header
265 uintptr_t ciKlass::prototype_header() {
266   assert(is_loaded(), "must be loaded");
267 
268   VM_ENTRY_MARK;
269   Klass* this_klass = get_Klass();
270   return (uintptr_t)this_klass->prototype_header().to_pointer();
271 }
< prev index next >