< prev index next >

src/hotspot/cpu/x86/vtableStubs_x86_64.cpp

Print this page
*** 216,11 ***
    const ptrdiff_t  lookupSize = __ pc() - start_pc;
  
    // We expect we need index_dependent_slop extra bytes. Reason:
    // The emitted code in lookup_interface_method changes when itable_index exceeds 15.
    // For linux, a very narrow estimate would be 112, but Solaris requires some more space (130).
!   const ptrdiff_t estimate = 136;
    const ptrdiff_t codesize = typecheckSize + lookupSize + index_dependent_slop;
    slop_delta  = (int)(estimate - codesize);
    slop_bytes += slop_delta;
    assert(slop_delta >= 0, "itable #%d: Code size estimate (%d) for lookup_interface_method too small, required: %d", itable_index, (int)estimate, (int)codesize);
  
--- 216,11 ---
    const ptrdiff_t  lookupSize = __ pc() - start_pc;
  
    // We expect we need index_dependent_slop extra bytes. Reason:
    // The emitted code in lookup_interface_method changes when itable_index exceeds 15.
    // For linux, a very narrow estimate would be 112, but Solaris requires some more space (130).
!   const ptrdiff_t estimate = 226;
    const ptrdiff_t codesize = typecheckSize + lookupSize + index_dependent_slop;
    slop_delta  = (int)(estimate - codesize);
    slop_bytes += slop_delta;
    assert(slop_delta >= 0, "itable #%d: Code size estimate (%d) for lookup_interface_method too small, required: %d", itable_index, (int)estimate, (int)codesize);
  
< prev index next >