--- a/src/hotspot/share/utilities/concurrentHashTable.inline.hpp Tue Jun 19 05:22:07 2018 -0700
+++ b/src/hotspot/share/utilities/concurrentHashTable.inline.hpp Tue Jun 19 16:14:39 2018 +0200
@@ -1203,7 +1203,7 @@
if (!try_resize_lock(thread)) {
return false;
}
- assert(_new_table == NULL, "Must be NULL");
+ assert(_new_table == NULL || _new_table == POISON_PTR, "Must be NULL");
for (size_t bucket_it = 0; bucket_it < _table->_size; bucket_it++) {
Bucket* bucket = _table->get_bucket(bucket_it);
assert(!bucket->have_redirect() && !bucket->is_locked(), "Table must be uncontended");