Skip to content

Commit 7c357b0

Browse files
committed
7186278: Build error after CR#6995781 / 7151532 with GCC 4.7.0
Templates need this object if not using template parameter in call Reviewed-by: coleenp, kamg, dholmes
1 parent 318ce17 commit 7c357b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hotspot/src/share/vm/utilities/hashtable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ template <class T, MEMFLAGS F> void Hashtable<T, F>::move_to(Hashtable<T, F>* ne
135135
// walking the hashtable past these entries requires
136136
// BasicHashtableEntry::make_ptr() call.
137137
bool keep_shared = p->is_shared();
138-
unlink_entry(p);
138+
this->unlink_entry(p);
139139
new_table->add_entry(index, p);
140140
if (keep_shared) {
141141
p->set_shared();

hotspot/src/share/vm/utilities/hashtable.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ template <class T, MEMFLAGS F> class Hashtable : public BasicHashtable<F> {
260260
}
261261

262262
int index_for(Symbol* name) {
263-
return hash_to_index(compute_hash(name));
263+
return this->hash_to_index(compute_hash(name));
264264
}
265265

266266
// Table entry management

0 commit comments

Comments
 (0)