8001584: NPG: Incorrect assertion in BinaryTreeDictionary::get_chunk()
authorjmasa
Thu, 25 Oct 2012 12:59:37 -0700
changeset 14124 64fec50a34ed
parent 14123 944e56f74fba
child 14125 87b3b7efc04b
8001584: NPG: Incorrect assertion in BinaryTreeDictionary::get_chunk() Reviewed-by: johnc, tamao
hotspot/src/share/vm/memory/binaryTreeDictionary.hpp
--- 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;
   }