equal
deleted
inserted
replaced
193 // which doesn't zero out the memory before calling the constructor. |
193 // which doesn't zero out the memory before calling the constructor. |
194 // Need to set the _java_mirror field explicitly to not hit an assert that the field |
194 // Need to set the _java_mirror field explicitly to not hit an assert that the field |
195 // should be NULL before setting it. |
195 // should be NULL before setting it. |
196 Klass::Klass(KlassID id) : _id(id), |
196 Klass::Klass(KlassID id) : _id(id), |
197 _java_mirror(NULL), |
197 _java_mirror(NULL), |
198 _prototype_header(markOopDesc::prototype()), |
198 _prototype_header(markWord::prototype()), |
199 _shared_class_path_index(-1) { |
199 _shared_class_path_index(-1) { |
200 CDS_ONLY(_shared_class_flags = 0;) |
200 CDS_ONLY(_shared_class_flags = 0;) |
201 CDS_JAVA_HEAP_ONLY(_archived_mirror = 0;) |
201 CDS_JAVA_HEAP_ONLY(_archived_mirror = 0;) |
202 _primary_supers[0] = this; |
202 _primary_supers[0] = this; |
203 set_super_check_offset(in_bytes(primary_supers_offset())); |
203 set_super_check_offset(in_bytes(primary_supers_offset())); |
742 st->print_cr("%s ", internal_name()); |
742 st->print_cr("%s ", internal_name()); |
743 obj->print_address_on(st); |
743 obj->print_address_on(st); |
744 |
744 |
745 if (WizardMode) { |
745 if (WizardMode) { |
746 // print header |
746 // print header |
747 obj->mark()->print_on(st); |
747 obj->mark().print_on(st); |
748 st->cr(); |
748 st->cr(); |
749 st->print(BULLET"prototype_header: " INTPTR_FORMAT, p2i(_prototype_header)); |
749 st->print(BULLET"prototype_header: " INTPTR_FORMAT, _prototype_header.value()); |
750 st->cr(); |
750 st->cr(); |
751 } |
751 } |
752 |
752 |
753 // print class |
753 // print class |
754 st->print(BULLET"klass: "); |
754 st->print(BULLET"klass: "); |