comparison src/cpu/ppc/vm/vtableStubs_ppc_64.cpp @ 14427:eb178e97560c

8027968: Adapt PPC to 8024927: Nashorn performance regression with CompressedOops Reviewed-by: coleenp, kvn
author goetz
date Thu, 07 Nov 2013 11:47:11 +0100
parents ec28f9c041ff
children b0133e4187d3
comparison
equal deleted inserted replaced
14426:600acc4b8b1e 14427:eb178e97560c
253 253
254 int VtableStub::pd_code_size_limit(bool is_vtable_stub) { 254 int VtableStub::pd_code_size_limit(bool is_vtable_stub) {
255 if (TraceJumps || DebugVtables || CountCompiledCalls || VerifyOops) { 255 if (TraceJumps || DebugVtables || CountCompiledCalls || VerifyOops) {
256 return 1000; 256 return 1000;
257 } else { 257 } else {
258 int decode_klass_size = MacroAssembler::instr_size_for_decode_klass_not_null();
258 if (is_vtable_stub) { 259 if (is_vtable_stub) {
259 return 20 + 16 + 8; // Plain + (cOops & Traps) + safety 260 return 20 + decode_klass_size + 8 + 8; // Plain + cOops + Traps + safety
260 } else { 261 } else {
261 return 16 + 96; 262 return 96 + decode_klass_size + 12 + 8; // Plain + cOops + Traps + safety
262 } 263 }
263 } 264 }
264 } 265 }
265 266
266 int VtableStub::pd_code_alignment() { 267 int VtableStub::pd_code_alignment() {