3070 st->print(BULLET"instance size: %d", size_helper()); st->cr(); |
3070 st->print(BULLET"instance size: %d", size_helper()); st->cr(); |
3071 st->print(BULLET"klass size: %d", size()); st->cr(); |
3071 st->print(BULLET"klass size: %d", size()); st->cr(); |
3072 st->print(BULLET"access: "); access_flags().print_on(st); st->cr(); |
3072 st->print(BULLET"access: "); access_flags().print_on(st); st->cr(); |
3073 st->print(BULLET"state: "); st->print_cr("%s", state_names[_init_state]); |
3073 st->print(BULLET"state: "); st->print_cr("%s", state_names[_init_state]); |
3074 st->print(BULLET"name: "); name()->print_value_on(st); st->cr(); |
3074 st->print(BULLET"name: "); name()->print_value_on(st); st->cr(); |
3075 st->print(BULLET"super: "); super()->print_value_on_maybe_null(st); st->cr(); |
3075 st->print(BULLET"super: "); Metadata::print_value_on_maybe_null(st, super()); st->cr(); |
3076 st->print(BULLET"sub: "); |
3076 st->print(BULLET"sub: "); |
3077 Klass* sub = subklass(); |
3077 Klass* sub = subklass(); |
3078 int n; |
3078 int n; |
3079 for (n = 0; sub != NULL; n++, sub = sub->next_sibling()) { |
3079 for (n = 0; sub != NULL; n++, sub = sub->next_sibling()) { |
3080 if (n < MaxSubklassPrintSize) { |
3080 if (n < MaxSubklassPrintSize) { |
3093 implementor()->print_value_on(st); |
3093 implementor()->print_value_on(st); |
3094 st->cr(); |
3094 st->cr(); |
3095 } |
3095 } |
3096 } |
3096 } |
3097 |
3097 |
3098 st->print(BULLET"arrays: "); array_klasses()->print_value_on_maybe_null(st); st->cr(); |
3098 st->print(BULLET"arrays: "); Metadata::print_value_on_maybe_null(st, array_klasses()); st->cr(); |
3099 st->print(BULLET"methods: "); methods()->print_value_on(st); st->cr(); |
3099 st->print(BULLET"methods: "); methods()->print_value_on(st); st->cr(); |
3100 if (Verbose || WizardMode) { |
3100 if (Verbose || WizardMode) { |
3101 Array<Method*>* method_array = methods(); |
3101 Array<Method*>* method_array = methods(); |
3102 for (int i = 0; i < method_array->length(); i++) { |
3102 for (int i = 0; i < method_array->length(); i++) { |
3103 st->print("%d : ", i); method_array->at(i)->print_value(); st->cr(); |
3103 st->print("%d : ", i); method_array->at(i)->print_value(); st->cr(); |
3120 if (class_loader_data() != NULL) { |
3120 if (class_loader_data() != NULL) { |
3121 st->print(BULLET"class loader data: "); |
3121 st->print(BULLET"class loader data: "); |
3122 class_loader_data()->print_value_on(st); |
3122 class_loader_data()->print_value_on(st); |
3123 st->cr(); |
3123 st->cr(); |
3124 } |
3124 } |
3125 st->print(BULLET"host class: "); host_klass()->print_value_on_maybe_null(st); st->cr(); |
3125 st->print(BULLET"host class: "); Metadata::print_value_on_maybe_null(st, host_klass()); st->cr(); |
3126 if (source_file_name() != NULL) { |
3126 if (source_file_name() != NULL) { |
3127 st->print(BULLET"source file: "); |
3127 st->print(BULLET"source file: "); |
3128 source_file_name()->print_value_on(st); |
3128 source_file_name()->print_value_on(st); |
3129 st->cr(); |
3129 st->cr(); |
3130 } |
3130 } |
3227 st->print(BULLET"signature: "); |
3227 st->print(BULLET"signature: "); |
3228 java_lang_Class::print_signature(obj, st); |
3228 java_lang_Class::print_signature(obj, st); |
3229 st->cr(); |
3229 st->cr(); |
3230 Klass* mirrored_klass = java_lang_Class::as_Klass(obj); |
3230 Klass* mirrored_klass = java_lang_Class::as_Klass(obj); |
3231 st->print(BULLET"fake entry for mirror: "); |
3231 st->print(BULLET"fake entry for mirror: "); |
3232 mirrored_klass->print_value_on_maybe_null(st); |
3232 Metadata::print_value_on_maybe_null(st, mirrored_klass); |
3233 st->cr(); |
3233 st->cr(); |
3234 Klass* array_klass = java_lang_Class::array_klass_acquire(obj); |
3234 Klass* array_klass = java_lang_Class::array_klass_acquire(obj); |
3235 st->print(BULLET"fake entry for array: "); |
3235 st->print(BULLET"fake entry for array: "); |
3236 array_klass->print_value_on_maybe_null(st); |
3236 Metadata::print_value_on_maybe_null(st, array_klass); |
3237 st->cr(); |
3237 st->cr(); |
3238 st->print_cr(BULLET"fake entry for oop_size: %d", java_lang_Class::oop_size(obj)); |
3238 st->print_cr(BULLET"fake entry for oop_size: %d", java_lang_Class::oop_size(obj)); |
3239 st->print_cr(BULLET"fake entry for static_oop_field_count: %d", java_lang_Class::static_oop_field_count(obj)); |
3239 st->print_cr(BULLET"fake entry for static_oop_field_count: %d", java_lang_Class::static_oop_field_count(obj)); |
3240 Klass* real_klass = java_lang_Class::as_Klass(obj); |
3240 Klass* real_klass = java_lang_Class::as_Klass(obj); |
3241 if (real_klass != NULL && real_klass->is_instance_klass()) { |
3241 if (real_klass != NULL && real_klass->is_instance_klass()) { |