src/hotspot/share/classfile/symbolTable.cpp
changeset 57593 f40a73b61b5e
parent 55478 ae2e53e379cb
child 58447 319173c62caa
equal deleted inserted replaced
57592:11de092bcc5a 57593:f40a73b61b5e
    43 
    43 
    44 // We used to not resize at all, so let's be conservative
    44 // We used to not resize at all, so let's be conservative
    45 // and not set it too short before we decide to resize,
    45 // and not set it too short before we decide to resize,
    46 // to match previous startup behavior
    46 // to match previous startup behavior
    47 const double PREF_AVG_LIST_LEN = 8.0;
    47 const double PREF_AVG_LIST_LEN = 8.0;
    48 // 2^17 (131,072) is max size, which is about 6.5 times as large
    48 // 2^24 is max size, like StringTable.
    49 // as the previous table size (used to be 20,011),
    49 const size_t END_SIZE = 24;
    50 // which never resized
       
    51 const size_t END_SIZE = 17;
       
    52 // If a chain gets to 100 something might be wrong
    50 // If a chain gets to 100 something might be wrong
    53 const size_t REHASH_LEN = 100;
    51 const size_t REHASH_LEN = 100;
    54 
    52 
    55 const size_t ON_STACK_BUFFER_LENGTH = 128;
    53 const size_t ON_STACK_BUFFER_LENGTH = 128;
    56 
    54