# HG changeset patch # User andrew # Date 1343764916 14400 # Node ID db9277e6d65c92d9fdcae89ebf4f59c24fd61d77 # Parent d0b6351ff063af407fac7d6013aacc5846b629fd 7186278: Build error after CR#6995781 / 7151532 with GCC 4.7.0 Summary: Templates need this object if not using template parameter in call Reviewed-by: coleenp, kamg, dholmes diff -r d0b6351ff063 -r db9277e6d65c src/share/vm/utilities/hashtable.cpp --- a/src/share/vm/utilities/hashtable.cpp Fri Aug 03 20:23:25 2012 +0100 +++ b/src/share/vm/utilities/hashtable.cpp Tue Jul 31 16:01:56 2012 -0400 @@ -135,7 +135,7 @@ // walking the hashtable past these entries requires // BasicHashtableEntry::make_ptr() call. bool keep_shared = p->is_shared(); - unlink_entry(p); + this->unlink_entry(p); new_table->add_entry(index, p); if (keep_shared) { p->set_shared(); diff -r d0b6351ff063 -r db9277e6d65c src/share/vm/utilities/hashtable.hpp --- a/src/share/vm/utilities/hashtable.hpp Fri Aug 03 20:23:25 2012 +0100 +++ b/src/share/vm/utilities/hashtable.hpp Tue Jul 31 16:01:56 2012 -0400 @@ -260,7 +260,7 @@ } int index_for(Symbol* name) { - return hash_to_index(compute_hash(name)); + return this->hash_to_index(compute_hash(name)); } // Table entry management