3141 bool have_pv = false;
3142 // previous versions are linked together through the InstanceKlass
3143 for (InstanceKlass* pv_node = previous_versions();
3144 pv_node != NULL;
3145 pv_node = pv_node->previous_versions()) {
3146 if (!have_pv)
3147 st->print(BULLET"previous version: ");
3148 have_pv = true;
3149 pv_node->constants()->print_value_on(st);
3150 }
3151 if (have_pv) st->cr();
3152 }
3153
3154 if (generic_signature() != NULL) {
3155 st->print(BULLET"generic signature: ");
3156 generic_signature()->print_value_on(st);
3157 st->cr();
3158 }
3159 st->print(BULLET"inner classes: "); inner_classes()->print_value_on(st); st->cr();
3160 st->print(BULLET"nest members: "); nest_members()->print_value_on(st); st->cr();
3161 st->print(BULLET"java mirror: "); java_mirror()->print_value_on(st); st->cr();
3162 st->print(BULLET"vtable length %d (start addr: " INTPTR_FORMAT ")", vtable_length(), p2i(start_of_vtable())); st->cr();
3163 if (vtable_length() > 0 && (Verbose || WizardMode)) print_vtable(start_of_vtable(), vtable_length(), st);
3164 st->print(BULLET"itable length %d (start addr: " INTPTR_FORMAT ")", itable_length(), p2i(start_of_itable())); st->cr();
3165 if (itable_length() > 0 && (Verbose || WizardMode)) print_vtable(start_of_itable(), itable_length(), st);
3166 st->print_cr(BULLET"---- static fields (%d words):", static_field_size());
3167 FieldPrinter print_static_field(st);
3168 ((InstanceKlass*)this)->do_local_static_fields(&print_static_field);
3169 st->print_cr(BULLET"---- non-static fields (%d words):", nonstatic_field_size());
3170 FieldPrinter print_nonstatic_field(st);
3171 InstanceKlass* ik = const_cast<InstanceKlass*>(this);
3172 ik->do_nonstatic_fields(&print_nonstatic_field);
3173
3174 st->print(BULLET"non-static oop maps: ");
3175 OopMapBlock* map = start_of_nonstatic_oop_maps();
3176 OopMapBlock* end_map = map + nonstatic_oop_map_count();
3177 while (map < end_map) {
3178 st->print("%d-%d ", map->offset(), map->offset() + heapOopSize*(map->count() - 1));
3179 map++;
3180 }
3181 st->cr();
|
3141 bool have_pv = false;
3142 // previous versions are linked together through the InstanceKlass
3143 for (InstanceKlass* pv_node = previous_versions();
3144 pv_node != NULL;
3145 pv_node = pv_node->previous_versions()) {
3146 if (!have_pv)
3147 st->print(BULLET"previous version: ");
3148 have_pv = true;
3149 pv_node->constants()->print_value_on(st);
3150 }
3151 if (have_pv) st->cr();
3152 }
3153
3154 if (generic_signature() != NULL) {
3155 st->print(BULLET"generic signature: ");
3156 generic_signature()->print_value_on(st);
3157 st->cr();
3158 }
3159 st->print(BULLET"inner classes: "); inner_classes()->print_value_on(st); st->cr();
3160 st->print(BULLET"nest members: "); nest_members()->print_value_on(st); st->cr();
3161 if (java_mirror() != NULL) {
3162 st->print(BULLET"java mirror: ");
3163 java_mirror()->print_value_on(st);
3164 st->cr();
3165 } else {
3166 st->print_cr(BULLET"java mirror: NULL");
3167 }
3168 st->print(BULLET"vtable length %d (start addr: " INTPTR_FORMAT ")", vtable_length(), p2i(start_of_vtable())); st->cr();
3169 if (vtable_length() > 0 && (Verbose || WizardMode)) print_vtable(start_of_vtable(), vtable_length(), st);
3170 st->print(BULLET"itable length %d (start addr: " INTPTR_FORMAT ")", itable_length(), p2i(start_of_itable())); st->cr();
3171 if (itable_length() > 0 && (Verbose || WizardMode)) print_vtable(start_of_itable(), itable_length(), st);
3172 st->print_cr(BULLET"---- static fields (%d words):", static_field_size());
3173 FieldPrinter print_static_field(st);
3174 ((InstanceKlass*)this)->do_local_static_fields(&print_static_field);
3175 st->print_cr(BULLET"---- non-static fields (%d words):", nonstatic_field_size());
3176 FieldPrinter print_nonstatic_field(st);
3177 InstanceKlass* ik = const_cast<InstanceKlass*>(this);
3178 ik->do_nonstatic_fields(&print_nonstatic_field);
3179
3180 st->print(BULLET"non-static oop maps: ");
3181 OopMapBlock* map = start_of_nonstatic_oop_maps();
3182 OopMapBlock* end_map = map + nonstatic_oop_map_count();
3183 while (map < end_map) {
3184 st->print("%d-%d ", map->offset(), map->offset() + heapOopSize*(map->count() - 1));
3185 map++;
3186 }
3187 st->cr();
|