--- a/hotspot/src/cpu/ppc/vm/vtableStubs_ppc_64.cpp Thu Nov 07 11:51:53 2013 +0100
+++ b/hotspot/src/cpu/ppc/vm/vtableStubs_ppc_64.cpp Thu Nov 07 11:47:11 2013 +0100
@@ -255,10 +255,11 @@
if (TraceJumps || DebugVtables || CountCompiledCalls || VerifyOops) {
return 1000;
} else {
+ int decode_klass_size = MacroAssembler::instr_size_for_decode_klass_not_null();
if (is_vtable_stub) {
- return 20 + 16 + 8; // Plain + (cOops & Traps) + safety
+ return 20 + decode_klass_size + 8 + 8; // Plain + cOops + Traps + safety
} else {
- return 16 + 96;
+ return 96 + decode_klass_size + 12 + 8; // Plain + cOops + Traps + safety
}
}
}