src/hotspot/share/gc/shenandoah/shenandoahRuntime.cpp
changeset 54383 cdc3bb0983a6
parent 52925 9c18c9d839d3
child 54423 6c0ab8bd8da5
equal deleted inserted replaced
54382:61616f509ef8 54383:cdc3bb0983a6
    49     assert(false, "should be optimized out");
    49     assert(false, "should be optimized out");
    50     return;
    50     return;
    51   }
    51   }
    52   shenandoah_assert_correct(NULL, orig);
    52   shenandoah_assert_correct(NULL, orig);
    53   // store the original value that was in the field reference
    53   // store the original value that was in the field reference
    54   ShenandoahThreadLocalData::satb_mark_queue(thread).enqueue(orig);
    54   assert(ShenandoahThreadLocalData::satb_mark_queue(thread).is_active(), "Shouldn't be here otherwise");
       
    55   ShenandoahThreadLocalData::satb_mark_queue(thread).enqueue_known_active(orig);
    55 JRT_END
    56 JRT_END
    56 
    57 
    57 JRT_LEAF(oopDesc*, ShenandoahRuntime::write_barrier_JRT(oopDesc* src))
    58 JRT_LEAF(oopDesc*, ShenandoahRuntime::write_barrier_JRT(oopDesc* src))
    58   oop result = ShenandoahBarrierSet::barrier_set()->write_barrier_mutator(src);
    59   oop result = ShenandoahBarrierSet::barrier_set()->write_barrier_mutator(src);
    59   return (oopDesc*) result;
    60   return (oopDesc*) result;