hotspot/src/cpu/aarch64/vm/vtableStubs_aarch64.cpp
changeset 31592 43f48e165466
parent 29183 0cc8699f7372
child 35871 607bf949dfb3
equal deleted inserted replaced
31401:1514c0a798d2 31592:43f48e165466
   103   __ br(rscratch1);
   103   __ br(rscratch1);
   104 
   104 
   105   __ flush();
   105   __ flush();
   106 
   106 
   107   if (PrintMiscellaneous && (WizardMode || Verbose)) {
   107   if (PrintMiscellaneous && (WizardMode || Verbose)) {
   108     tty->print_cr("vtable #%d at "PTR_FORMAT"[%d] left over: %d",
   108     tty->print_cr("vtable #%d at " PTR_FORMAT "[%d] left over: %d",
   109                   vtable_index, p2i(s->entry_point()),
   109                   vtable_index, p2i(s->entry_point()),
   110                   (int)(s->code_end() - s->entry_point()),
   110                   (int)(s->code_end() - s->entry_point()),
   111                   (int)(s->code_end() - __ pc()));
   111                   (int)(s->code_end() - __ pc()));
   112   }
   112   }
   113   guarantee(__ pc() <= s->code_end(), "overflowed buffer");
   113   guarantee(__ pc() <= s->code_end(), "overflowed buffer");
   182   __ far_jump(RuntimeAddress(StubRoutines::throw_IncompatibleClassChangeError_entry()));
   182   __ far_jump(RuntimeAddress(StubRoutines::throw_IncompatibleClassChangeError_entry()));
   183 
   183 
   184   __ flush();
   184   __ flush();
   185 
   185 
   186   if (PrintMiscellaneous && (WizardMode || Verbose)) {
   186   if (PrintMiscellaneous && (WizardMode || Verbose)) {
   187     tty->print_cr("itable #%d at "PTR_FORMAT"[%d] left over: %d",
   187     tty->print_cr("itable #%d at " PTR_FORMAT "[%d] left over: %d",
   188                   itable_index, p2i(s->entry_point()),
   188                   itable_index, p2i(s->entry_point()),
   189                   (int)(s->code_end() - s->entry_point()),
   189                   (int)(s->code_end() - s->entry_point()),
   190                   (int)(s->code_end() - __ pc()));
   190                   (int)(s->code_end() - __ pc()));
   191   }
   191   }
   192   guarantee(__ pc() <= s->code_end(), "overflowed buffer");
   192   guarantee(__ pc() <= s->code_end(), "overflowed buffer");