< prev index next >

src/hotspot/share/code/vtableStubs.cpp

Print this page
*** 100,12 ***
  int VtableStubs::_vtab_stub_size = 0;
  int VtableStubs::_itab_stub_size = 0;
  
  #if defined(PRODUCT)
    // These values are good for the PRODUCT case (no tracing).
!   static const int first_vtableStub_size =  64;
!   static const int first_itableStub_size = 256;
  #else
    // These values are good for the non-PRODUCT case (when tracing can be switched on).
    // To find out, run test workload with
    //   -Xlog:vtablestubs=Trace -XX:+CountCompiledCalls -XX:+DebugVtables
    // and use the reported "estimate" value.
--- 100,12 ---
  int VtableStubs::_vtab_stub_size = 0;
  int VtableStubs::_itab_stub_size = 0;
  
  #if defined(PRODUCT)
    // These values are good for the PRODUCT case (no tracing).
!   static const int first_vtableStub_size = 256;
!   static const int first_itableStub_size = 512;
  #else
    // These values are good for the non-PRODUCT case (when tracing can be switched on).
    // To find out, run test workload with
    //   -Xlog:vtablestubs=Trace -XX:+CountCompiledCalls -XX:+DebugVtables
    // and use the reported "estimate" value.
< prev index next >