Mercurial > hg > truffle
comparison src/share/vm/utilities/hashtable.hpp @ 10408:836a62f43af9
Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 19 Jun 2013 10:45:56 +0200 |
parents | a5d6f0c3585f |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
10086:e0fb8a213650 | 10408:836a62f43af9 |
---|---|
280 // Function to move these elements into the new table. | 280 // Function to move these elements into the new table. |
281 void move_to(Hashtable<T, F>* new_table); | 281 void move_to(Hashtable<T, F>* new_table); |
282 static bool use_alternate_hashcode() { return _seed != 0; } | 282 static bool use_alternate_hashcode() { return _seed != 0; } |
283 static jint seed() { return _seed; } | 283 static jint seed() { return _seed; } |
284 | 284 |
285 static int literal_size(Symbol *symbol); | |
286 static int literal_size(oop oop); | |
287 | |
288 // The following two are currently not used, but are needed anyway because some | |
289 // C++ compilers (MacOS and Solaris) force the instantiation of | |
290 // Hashtable<ConstantPool*, mtClass>::dump_table() even though we never call this function | |
291 // in the VM code. | |
292 static int literal_size(ConstantPool *cp) {Unimplemented(); return 0;} | |
293 static int literal_size(Klass *k) {Unimplemented(); return 0;} | |
294 | |
295 public: | |
296 void dump_table(outputStream* st, const char *table_name); | |
297 | |
285 private: | 298 private: |
286 static jint _seed; | 299 static jint _seed; |
287 }; | 300 }; |
288 | 301 |
289 | 302 |