7005259: CMS: BubbleUpRef asserts referent(obj)->is_oop() failed: Enqueued a bad referent

Relaxed the assert by allowing NULL referents when discovery may be concurrent.

Reviewed-by: johnc, jcoomes
This commit is contained in:
Y. Srinivas Ramakrishna 2010-12-09 09:22:57 -08:00
parent 544b475fc5
commit 8baafdfd45
3 changed files with 21 additions and 13 deletions

View file

@ -345,6 +345,7 @@ class ReferenceProcessor : public CHeapObj {
// debugging
void verify_no_references_recorded() PRODUCT_RETURN;
void verify_referent(oop obj) PRODUCT_RETURN;
static void verify();
// clear the discovered lists (unlinking each entry).