src/hotspot/share/utilities/hashtable.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
webrev Cdiff src/hotspot/share/utilities/hashtable.hpp
src/hotspot/share/utilities/hashtable.hpp
Print this page
*** 235,244 ****
--- 235,246 ----
void free_entry(BasicHashtableEntry<F>* entry);
int number_of_entries() const { return _number_of_entries; }
+ bool resize(int new_size);
+
template <class T> void verify_table(const char* table_name) PRODUCT_RETURN;
};
template <class T, MEMFLAGS F> class Hashtable : public BasicHashtable<F> {
*** 279,289 ****
// The following method is not MT-safe and must be done under lock.
HashtableEntry<T, F>** bucket_addr(int i) {
return (HashtableEntry<T, F>**)BasicHashtable<F>::bucket_addr(i);
}
-
};
template <class T, MEMFLAGS F> class RehashableHashtable : public Hashtable<T, F> {
friend class VMStructs;
protected:
--- 281,290 ----
src/hotspot/share/utilities/hashtable.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File