src/cpu/x86/vm/vtableStubs_x86_64.cpp

changeset 4159
8e47bac5643a
parent 4037
da91efe96a93
child 4318
cd3d6a6b95d9
     1.1 --- a/src/cpu/x86/vm/vtableStubs_x86_64.cpp	Mon Oct 08 17:04:00 2012 -0700
     1.2 +++ b/src/cpu/x86/vm/vtableStubs_x86_64.cpp	Tue Oct 09 10:11:38 2012 +0200
     1.3 @@ -212,11 +212,11 @@
     1.4    if (is_vtable_stub) {
     1.5      // Vtable stub size
     1.6      return (DebugVtables ? 512 : 24) + (CountCompiledCalls ? 13 : 0) +
     1.7 -           (UseCompressedOops ? 16 : 0);  // 1 leaq can be 3 bytes + 1 long
     1.8 +           (UseCompressedKlassPointers ? 16 : 0);  // 1 leaq can be 3 bytes + 1 long
     1.9    } else {
    1.10      // Itable stub size
    1.11      return (DebugVtables ? 512 : 74) + (CountCompiledCalls ? 13 : 0) +
    1.12 -           (UseCompressedOops ? 32 : 0);  // 2 leaqs
    1.13 +           (UseCompressedKlassPointers ? 32 : 0);  // 2 leaqs
    1.14    }
    1.15    // In order to tune these parameters, run the JVM with VM options
    1.16    // +PrintMiscellaneous and +WizardMode to see information about

mercurial