From 0c42ca44f37e1bff33a0b8885fca0a0f0703e2cd Mon Sep 17 00:00:00 2001 From: Jon Masamitsu Date: Thu, 25 Oct 2012 12:59:37 -0700 Subject: [PATCH] 8001584: NPG: Incorrect assertion in BinaryTreeDictionary::get_chunk() Reviewed-by: johnc, tamao --- hotspot/src/share/vm/memory/binaryTreeDictionary.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotspot/src/share/vm/memory/binaryTreeDictionary.hpp b/hotspot/src/share/vm/memory/binaryTreeDictionary.hpp index 5efe8aaa46a..757eb4fdac9 100644 --- a/hotspot/src/share/vm/memory/binaryTreeDictionary.hpp +++ b/hotspot/src/share/vm/memory/binaryTreeDictionary.hpp @@ -259,7 +259,7 @@ class BinaryTreeDictionary: public FreeBlockDictionary { 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; }