comparison src/share/vm/runtime/init.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 aa3d708d67c4
children da91efe96a93 8c5333c80cfd
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/symbolTable.hpp"
26 #include "code/icBuffer.hpp" 27 #include "code/icBuffer.hpp"
27 #include "gc_interface/collectedHeap.hpp" 28 #include "gc_interface/collectedHeap.hpp"
28 #include "interpreter/bytecodes.hpp" 29 #include "interpreter/bytecodes.hpp"
29 #include "memory/universe.hpp" 30 #include "memory/universe.hpp"
30 #include "prims/methodHandles.hpp" 31 #include "prims/methodHandles.hpp"
155 perfMemory_exit(); 156 perfMemory_exit();
156 if (PrintSafepointStatistics) { 157 if (PrintSafepointStatistics) {
157 // Print the collected safepoint statistics. 158 // Print the collected safepoint statistics.
158 SafepointSynchronize::print_stat_on_exit(); 159 SafepointSynchronize::print_stat_on_exit();
159 } 160 }
161 if (PrintStringTableStatistics) {
162 SymbolTable::dump(tty);
163 StringTable::dump(tty);
164 }
160 ostream_exit(); 165 ostream_exit();
161 } 166 }
162 } 167 }
163 168
164 169