changeset 3762:476718ea6759

8001584: NPG: Incorrect assertion in BinaryTreeDictionary::get_chunk() Reviewed-by: johnc, tamao
author jmasa
date Thu, 25 Oct 2012 12:59:37 -0700
parents 685df3c6f84b
children b58313cf9afd
files src/share/vm/memory/binaryTreeDictionary.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/memory/binaryTreeDictionary.hpp	Tue Sep 18 23:35:42 2012 -0700
+++ b/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;
   }