# HG changeset patch # User jmasa # Date 1351195177 25200 # Node ID 476718ea6759e92933d88eaeded9f1d73beaebfc # Parent 685df3c6f84b252b65bcab3d424b043e94438bdd 8001584: NPG: Incorrect assertion in BinaryTreeDictionary::get_chunk() Reviewed-by: johnc, tamao diff -r 685df3c6f84b -r 476718ea6759 src/share/vm/memory/binaryTreeDictionary.hpp --- 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::exactly || - res->size() == size, "Not correct size"); + res == NULL || res->size() == size, "Not correct size"); return res; }