equal
deleted
inserted
replaced
710 klassOop super = ik->super(); |
710 klassOop super = ik->super(); |
711 Klass* sib = ik->next_sibling(); |
711 Klass* sib = ik->next_sibling(); |
712 int sib_count = 0; |
712 int sib_count = 0; |
713 while (sib != NULL) { |
713 while (sib != NULL) { |
714 if (sib == ik) { |
714 if (sib == ik) { |
715 fatal1("subclass cycle of length %d", sib_count); |
715 fatal(err_msg("subclass cycle of length %d", sib_count)); |
716 } |
716 } |
717 if (sib_count >= 100000) { |
717 if (sib_count >= 100000) { |
718 fatal1("suspiciously long subclass list %d", sib_count); |
718 fatal(err_msg("suspiciously long subclass list %d", sib_count)); |
719 } |
719 } |
720 guarantee(sib->as_klassOop()->is_klass(), "should be klass"); |
720 guarantee(sib->as_klassOop()->is_klass(), "should be klass"); |
721 guarantee(sib->as_klassOop()->is_perm(), "should be in permspace"); |
721 guarantee(sib->as_klassOop()->is_perm(), "should be in permspace"); |
722 guarantee(sib->super() == super, "siblings should have same superklass"); |
722 guarantee(sib->super() == super, "siblings should have same superklass"); |
723 sib = sib->next_sibling(); |
723 sib = sib->next_sibling(); |