< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp

Print this page
rev 60500 : 8251359: Shenandoah: filter null oops before calling enqueue/SATB barrier

*** 1323,1333 **** } } // Keep alive an object that was loaded with AS_NO_KEEPALIVE. void ShenandoahHeap::keep_alive(oop obj) { ! if (is_concurrent_mark_in_progress()) { ShenandoahBarrierSet::barrier_set()->enqueue(obj); } } void ShenandoahHeap::heap_region_iterate(ShenandoahHeapRegionClosure* blk) const { --- 1323,1333 ---- } } // Keep alive an object that was loaded with AS_NO_KEEPALIVE. void ShenandoahHeap::keep_alive(oop obj) { ! if (is_concurrent_mark_in_progress() && !CompressedOops::is_null(obj)) { ShenandoahBarrierSet::barrier_set()->enqueue(obj); } } void ShenandoahHeap::heap_region_iterate(ShenandoahHeapRegionClosure* blk) const {
< prev index next >