src/hotspot/share/utilities/concurrentHashTable.hpp
changeset 50445 bd6b78feb6a3
parent 50158 8e4fcfb4cfe4
child 50608 1609a43e77ae
equal deleted inserted replaced
50444:db65921e9a9b 50445:bd6b78feb6a3
   482   // VALUE_SIZE_FUNC.
   482   // VALUE_SIZE_FUNC.
   483   template <typename VALUE_SIZE_FUNC>
   483   template <typename VALUE_SIZE_FUNC>
   484   void statistics_to(Thread* thread, VALUE_SIZE_FUNC& vs_f, outputStream* st,
   484   void statistics_to(Thread* thread, VALUE_SIZE_FUNC& vs_f, outputStream* st,
   485                      const char* table_name);
   485                      const char* table_name);
   486 
   486 
       
   487   // Moves all nodes from this table to to_cht
       
   488   bool try_move_nodes_to(Thread* thread, ConcurrentHashTable<VALUE, CONFIG, F>* to_cht);
       
   489 
   487   // This is a Curiously Recurring Template Pattern (CRPT) interface for the
   490   // This is a Curiously Recurring Template Pattern (CRPT) interface for the
   488   // specialization.
   491   // specialization.
   489   struct BaseConfig {
   492   struct BaseConfig {
   490    public:
   493    public:
   491     // Called when the hash table needs the hash for a VALUE.
   494     // Called when the hash table needs the hash for a VALUE.