comparison src/share/vm/prims/jni.cpp @ 6162:e9140bf80b4a

7158800: Improve storage of symbol tables Summary: Use an alternate version of hashing algorithm for symbol string tables and after a certain bucket size to improve performance Reviewed-by: pbk, kamg, dlong, kvn, fparain
author coleenp
date Wed, 13 Jun 2012 19:52:59 -0400
parents dcfcdd01af4b
children d2a62e0f25eb
comparison
equal deleted inserted replaced
6129:4d399f013e5a 6162:e9140bf80b4a
21 * questions. 21 * questions.
22 * 22 *
23 */ 23 */
24 24
25 #include "precompiled.hpp" 25 #include "precompiled.hpp"
26 #include "classfile/altHashing.hpp"
26 #include "classfile/classLoader.hpp" 27 #include "classfile/classLoader.hpp"
27 #include "classfile/javaClasses.hpp" 28 #include "classfile/javaClasses.hpp"
28 #include "classfile/symbolTable.hpp" 29 #include "classfile/symbolTable.hpp"
29 #include "classfile/systemDictionary.hpp" 30 #include "classfile/systemDictionary.hpp"
30 #include "classfile/vmSymbols.hpp" 31 #include "classfile/vmSymbols.hpp"
5051 if (ExecuteInternalVMTests) { 5052 if (ExecuteInternalVMTests) {
5052 tty->print_cr("Running internal VM tests"); 5053 tty->print_cr("Running internal VM tests");
5053 run_unit_test(arrayOopDesc::test_max_array_length()); 5054 run_unit_test(arrayOopDesc::test_max_array_length());
5054 run_unit_test(CollectedHeap::test_is_in()); 5055 run_unit_test(CollectedHeap::test_is_in());
5055 run_unit_test(QuickSort::test_quick_sort()); 5056 run_unit_test(QuickSort::test_quick_sort());
5057 run_unit_test(AltHashing::test_alt_hash());
5056 tty->print_cr("All internal VM tests passed"); 5058 tty->print_cr("All internal VM tests passed");
5057 } 5059 }
5058 } 5060 }
5059 5061
5060 #undef run_unit_test 5062 #undef run_unit_test