src/hotspot/share/utilities/resourceHash.hpp
changeset 53547 9d1a788dea3d
parent 53244 9807daeb47c4
--- a/src/hotspot/share/utilities/resourceHash.hpp	Tue Jan 29 14:34:26 2019 +0100
+++ b/src/hotspot/share/utilities/resourceHash.hpp	Tue Jan 29 14:43:05 2019 +0100
@@ -27,11 +27,6 @@
 
 #include "memory/allocation.hpp"
 
-template<typename K> struct ResourceHashtableFns {
-    typedef unsigned (*hash_fn)(K const&);
-    typedef bool (*equals_fn)(K const&, K const&);
-};
-
 template<
     typename K, typename V,
     // xlC does not compile this:
@@ -160,10 +155,6 @@
       ++bucket;
     }
   }
-
-  static size_t node_size() {
-    return sizeof(Node);
-  }
 };