< prev index next >

src/cpu/x86/vm/vtableStubs_x86_64.cpp

Print this page

        

*** 220,234 **** } int VtableStub::pd_code_size_limit(bool is_vtable_stub) { if (is_vtable_stub) { // Vtable stub size ! return (DebugVtables ? 512 : 24) + (CountCompiledCalls ? 13 : 0) + (UseCompressedClassPointers ? MacroAssembler::instr_size_for_decode_klass_not_null() : 0); } else { // Itable stub size ! return (DebugVtables ? 512 : 74) + (CountCompiledCalls ? 13 : 0) + (UseCompressedClassPointers ? MacroAssembler::instr_size_for_decode_klass_not_null() : 0); } // In order to tune these parameters, run the JVM with VM options // +PrintMiscellaneous and +WizardMode to see information about // actual itable stubs. Look for lines like this: --- 220,236 ---- } int VtableStub::pd_code_size_limit(bool is_vtable_stub) { if (is_vtable_stub) { // Vtable stub size ! return (ShenandoahVerifyReadsToFromSpace ? 512 : 0) + ! (DebugVtables ? 512 : 24) + (CountCompiledCalls ? 13 : 0) + (UseCompressedClassPointers ? MacroAssembler::instr_size_for_decode_klass_not_null() : 0); } else { // Itable stub size ! return (ShenandoahVerifyReadsToFromSpace ? 512 : 0) + ! (DebugVtables ? 512 : 74) + (CountCompiledCalls ? 13 : 0) + (UseCompressedClassPointers ? MacroAssembler::instr_size_for_decode_klass_not_null() : 0); } // In order to tune these parameters, run the JVM with VM options // +PrintMiscellaneous and +WizardMode to see information about // actual itable stubs. Look for lines like this:
< prev index next >