--- old/src/hotspot/share/utilities/concurrentHashTable.hpp 2018-08-10 11:33:13.000000000 -0500 +++ new/src/hotspot/share/utilities/concurrentHashTable.hpp 2018-08-10 11:33:12.000000000 -0500 @@ -309,7 +309,7 @@ // Insert which handles a number of cases. template bool internal_insert(Thread* thread, LOOKUP_FUNC& lookup_f, VALUE_FUNC& value_f, - CALLBACK_FUNC& callback, bool* grow_hint = NULL); + CALLBACK_FUNC& callback, bool* grow_hint = NULL, bool* clean_hint = NULL); // Returns true if an item matching LOOKUP_FUNC is removed. // Calls DELETE_FUNC before destroying the node. @@ -396,8 +396,8 @@ // value already exists. template bool get_insert_lazy(Thread* thread, LOOKUP_FUNC& lookup_f, VALUE_FUNC& val_f, - CALLBACK_FUNC& callback_f, bool* grow_hint = NULL) { - return !internal_insert(thread, lookup_f, val_f, callback_f, grow_hint); + CALLBACK_FUNC& callback_f, bool* grow_hint = NULL, bool* clean_hint = NULL) { + return !internal_insert(thread, lookup_f, val_f, callback_f, grow_hint, clean_hint); } // Same without CALLBACK_FUNC. @@ -436,9 +436,9 @@ // LOOKUP_FUNC. template bool insert(Thread* thread, LOOKUP_FUNC& lookup_f, const VALUE& value, - bool* grow_hint = NULL) { + bool* grow_hint = NULL, bool* clean_hint = NULL) { LazyValueRetrieve vp(value); - return internal_insert(thread, lookup_f, vp, noOp, grow_hint); + return internal_insert(thread, lookup_f, vp, noOp, grow_hint, clean_hint); } // This does a fast unsafe insert and can thus only be used when there is no