src/cpu/x86/vm/vtableStubs_x86_32.cpp

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

mercurial