< prev index next >

src/hotspot/share/ci/ciInstanceKlass.cpp

Print this page




 725     sub = sub->next_sibling();
 726   }
 727 
 728   // Dump out the state of the constant pool tags.  During replay the
 729   // tags will be validated for things which shouldn't change and
 730   // classes will be resolved if the tags indicate that they were
 731   // resolved at compile time.
 732   out->print("ciInstanceKlass %s %d %d %d", ik->name()->as_quoted_ascii(),
 733              is_linked(), is_initialized(), cp->length());
 734   for (int index = 1; index < cp->length(); index++) {
 735     out->print(" %d", cp->tags()->at(index));
 736   }
 737   out->cr();
 738   if (is_initialized()) {
 739     //  Dump out the static final fields in case the compilation relies
 740     //  on their value for correct replay.
 741     StaticFinalFieldPrinter sffp(out, ik->name()->as_quoted_ascii());
 742     ik->do_local_static_fields(&sffp);
 743   }
 744 }


























 725     sub = sub->next_sibling();
 726   }
 727 
 728   // Dump out the state of the constant pool tags.  During replay the
 729   // tags will be validated for things which shouldn't change and
 730   // classes will be resolved if the tags indicate that they were
 731   // resolved at compile time.
 732   out->print("ciInstanceKlass %s %d %d %d", ik->name()->as_quoted_ascii(),
 733              is_linked(), is_initialized(), cp->length());
 734   for (int index = 1; index < cp->length(); index++) {
 735     out->print(" %d", cp->tags()->at(index));
 736   }
 737   out->cr();
 738   if (is_initialized()) {
 739     //  Dump out the static final fields in case the compilation relies
 740     //  on their value for correct replay.
 741     StaticFinalFieldPrinter sffp(out, ik->name()->as_quoted_ascii());
 742     ik->do_local_static_fields(&sffp);
 743   }
 744 }
 745 
 746 #ifdef ASSERT
 747 bool ciInstanceKlass::debug_final_field_at(int offset) {
 748   GUARDED_VM_ENTRY(
 749     InstanceKlass* ik = get_instanceKlass();
 750     fieldDescriptor fd;
 751     if (ik->find_field_from_offset(offset, false, &fd)) {
 752       return fd.is_final();
 753     }
 754   );
 755   return false;
 756 }
 757 
 758 bool ciInstanceKlass::debug_stable_field_at(int offset) {
 759   GUARDED_VM_ENTRY(
 760     InstanceKlass* ik = get_instanceKlass();
 761     fieldDescriptor fd;
 762     if (ik->find_field_from_offset(offset, false, &fd)) {
 763       return fd.is_stable();
 764     }
 765   );
 766   return false;
 767 }
 768 #endif
< prev index next >