From ca60e251a98de2e11ff963dba9d11232c602c327 Mon Sep 17 00:00:00 2001 From: Robbin Ehn Date: Tue, 19 Jun 2018 16:14:39 +0200 Subject: [PATCH] 8205006: Assertion failure when rehashing stringtable Reviewed-by: lfoltan, zgu --- src/hotspot/share/utilities/concurrentHashTable.inline.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/utilities/concurrentHashTable.inline.hpp b/src/hotspot/share/utilities/concurrentHashTable.inline.hpp index 2c08bb1d230..dfbbc8b97a9 100644 --- a/src/hotspot/share/utilities/concurrentHashTable.inline.hpp +++ b/src/hotspot/share/utilities/concurrentHashTable.inline.hpp @@ -1203,7 +1203,7 @@ inline bool ConcurrentHashTable:: 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");