Mercurial > hg > truffle
comparison src/cpu/x86/vm/vtableStubs_x86_64.cpp @ 12226:7944aba7ba41
8015107: NPG: Use consistent naming for metaspace concepts
Reviewed-by: coleenp, mgerdin, hseigel
author | ehelin |
---|---|
date | Mon, 12 Aug 2013 17:37:02 +0200 |
parents | 740e263c80c6 |
children | 891687731b59 |
comparison
equal
deleted
inserted
replaced
12186:313b724f8911 | 12226:7944aba7ba41 |
---|---|
209 | 209 |
210 int VtableStub::pd_code_size_limit(bool is_vtable_stub) { | 210 int VtableStub::pd_code_size_limit(bool is_vtable_stub) { |
211 if (is_vtable_stub) { | 211 if (is_vtable_stub) { |
212 // Vtable stub size | 212 // Vtable stub size |
213 return (DebugVtables ? 512 : 24) + (CountCompiledCalls ? 13 : 0) + | 213 return (DebugVtables ? 512 : 24) + (CountCompiledCalls ? 13 : 0) + |
214 (UseCompressedKlassPointers ? MacroAssembler::instr_size_for_decode_klass_not_null() : 0); | 214 (UseCompressedClassPointers ? MacroAssembler::instr_size_for_decode_klass_not_null() : 0); |
215 } else { | 215 } else { |
216 // Itable stub size | 216 // Itable stub size |
217 return (DebugVtables ? 512 : 74) + (CountCompiledCalls ? 13 : 0) + | 217 return (DebugVtables ? 512 : 74) + (CountCompiledCalls ? 13 : 0) + |
218 (UseCompressedKlassPointers ? MacroAssembler::instr_size_for_decode_klass_not_null() : 0); | 218 (UseCompressedClassPointers ? MacroAssembler::instr_size_for_decode_klass_not_null() : 0); |
219 } | 219 } |
220 // In order to tune these parameters, run the JVM with VM options | 220 // In order to tune these parameters, run the JVM with VM options |
221 // +PrintMiscellaneous and +WizardMode to see information about | 221 // +PrintMiscellaneous and +WizardMode to see information about |
222 // actual itable stubs. Look for lines like this: | 222 // actual itable stubs. Look for lines like this: |
223 // itable #1 at 0x5551212[71] left over: 3 | 223 // itable #1 at 0x5551212[71] left over: 3 |