8001584: NPG: Incorrect assertion in BinaryTreeDictionary::get_chunk()
Reviewed-by: johnc, tamao
--- a/hotspot/src/share/vm/memory/binaryTreeDictionary.hpp Tue Sep 18 23:35:42 2012 -0700
+++ b/hotspot/src/share/vm/memory/binaryTreeDictionary.hpp Thu Oct 25 12:59:37 2012 -0700
@@ -259,7 +259,7 @@
assert(res == NULL || res->is_free(),
"Should be returning a free chunk");
assert(dither != FreeBlockDictionary<Chunk_t>::exactly ||
- res->size() == size, "Not correct size");
+ res == NULL || res->size() == size, "Not correct size");
return res;
}