src/hotspot/share/utilities/hashtable.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/hotspot/share/utilities/hashtable.hpp Wed Nov 1 11:21:48 2017
--- new/src/hotspot/share/utilities/hashtable.hpp Wed Nov 1 11:21:48 2017
*** 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 ****
--- 281,290 ----
// 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:
src/hotspot/share/utilities/hashtable.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File