Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 1995:8df09fb45352
7005259: CMS: BubbleUpRef asserts referent(obj)->is_oop() failed: Enqueued a bad referent
Summary: Relaxed the assert by allowing NULL referents when discovery may be concurrent.
Reviewed-by: johnc, jcoomes
author | ysr |
---|---|
date | Thu, 09 Dec 2010 09:22:57 -0800 |
parents | 016a3628c885 |
children | fb712ff22571 |
comparison
equal
deleted
inserted
replaced
1994:6cd6d394f280 | 1995:8df09fb45352 |
---|---|
2058 SharedHeap::ref_processing_init(); | 2058 SharedHeap::ref_processing_init(); |
2059 MemRegion mr = reserved_region(); | 2059 MemRegion mr = reserved_region(); |
2060 _ref_processor = ReferenceProcessor::create_ref_processor( | 2060 _ref_processor = ReferenceProcessor::create_ref_processor( |
2061 mr, // span | 2061 mr, // span |
2062 false, // Reference discovery is not atomic | 2062 false, // Reference discovery is not atomic |
2063 // (though it shouldn't matter here.) | |
2064 true, // mt_discovery | 2063 true, // mt_discovery |
2065 NULL, // is alive closure: need to fill this in for efficiency | 2064 NULL, // is alive closure: need to fill this in for efficiency |
2066 ParallelGCThreads, | 2065 ParallelGCThreads, |
2067 ParallelRefProcEnabled, | 2066 ParallelRefProcEnabled, |
2068 true); // Setting next fields of discovered | 2067 true); // Setting next fields of discovered |