8001584: NPG: Incorrect assertion in BinaryTreeDictionary::get_chunk()

Reviewed-by: johnc, tamao
This commit is contained in:
Jon Masamitsu 2012-10-25 12:59:37 -07:00
parent 37bddeb62b
commit 0c42ca44f3

View file

@ -259,7 +259,7 @@ class BinaryTreeDictionary: public FreeBlockDictionary<Chunk_t> {
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;
}