src/cpu/x86/vm/vtableStubs_x86_64.cpp

changeset 9327
f96fcd9e1e1b
parent 8997
f8a45a60bc6b
child 9448
73d689add964
equal deleted inserted replaced
9324:efdbe9b904ad 9327:f96fcd9e1e1b
111 __ jmp( Address(rbx, Method::from_compiled_offset())); 111 __ jmp( Address(rbx, Method::from_compiled_offset()));
112 112
113 __ flush(); 113 __ flush();
114 114
115 if (PrintMiscellaneous && (WizardMode || Verbose)) { 115 if (PrintMiscellaneous && (WizardMode || Verbose)) {
116 tty->print_cr("vtable #%d at "PTR_FORMAT"[%d] left over: %d", 116 tty->print_cr("vtable #%d at " PTR_FORMAT "[%d] left over: %d",
117 vtable_index, s->entry_point(), 117 vtable_index, s->entry_point(),
118 (int)(s->code_end() - s->entry_point()), 118 (int)(s->code_end() - s->entry_point()),
119 (int)(s->code_end() - __ pc())); 119 (int)(s->code_end() - __ pc()));
120 } 120 }
121 guarantee(__ pc() <= s->code_end(), "overflowed buffer"); 121 guarantee(__ pc() <= s->code_end(), "overflowed buffer");
218 __ jump(RuntimeAddress(StubRoutines::throw_IncompatibleClassChangeError_entry())); 218 __ jump(RuntimeAddress(StubRoutines::throw_IncompatibleClassChangeError_entry()));
219 219
220 __ flush(); 220 __ flush();
221 221
222 if (PrintMiscellaneous && (WizardMode || Verbose)) { 222 if (PrintMiscellaneous && (WizardMode || Verbose)) {
223 tty->print_cr("itable #%d at "PTR_FORMAT"[%d] left over: %d", 223 tty->print_cr("itable #%d at " PTR_FORMAT "[%d] left over: %d",
224 itable_index, s->entry_point(), 224 itable_index, s->entry_point(),
225 (int)(s->code_end() - s->entry_point()), 225 (int)(s->code_end() - s->entry_point()),
226 (int)(s->code_end() - __ pc())); 226 (int)(s->code_end() - __ pc()));
227 } 227 }
228 guarantee(__ pc() <= s->code_end(), "overflowed buffer"); 228 guarantee(__ pc() <= s->code_end(), "overflowed buffer");

mercurial