< prev index next >

src/share/vm/gc/shared/collectedHeap.cpp

Print this page

        

*** 348,358 **** // Verify that the storage points to a parsable object in heap DEBUG_ONLY(oop old_obj = oop(deferred.start());) assert(is_in(old_obj), "Not in allocated heap"); assert(!can_elide_initializing_store_barrier(old_obj), "Else should have been filtered in new_store_pre_barrier()"); ! assert(old_obj->is_oop(true), "Not an oop"); assert(deferred.word_size() == (size_t)(old_obj->size()), "Mismatch: multiple objects?"); } BarrierSet* bs = barrier_set(); assert(bs->has_write_region_opt(), "No write_region() on BarrierSet"); --- 348,358 ---- // Verify that the storage points to a parsable object in heap DEBUG_ONLY(oop old_obj = oop(deferred.start());) assert(is_in(old_obj), "Not in allocated heap"); assert(!can_elide_initializing_store_barrier(old_obj), "Else should have been filtered in new_store_pre_barrier()"); ! assert(oopDesc::is_oop(old_obj, true), "Not an oop"); assert(deferred.word_size() == (size_t)(old_obj->size()), "Mismatch: multiple objects?"); } BarrierSet* bs = barrier_set(); assert(bs->has_write_region_opt(), "No write_region() on BarrierSet");
< prev index next >