src/hotspot/share/gc/shenandoah/shenandoahRuntime.cpp
changeset 54423 6c0ab8bd8da5
parent 54383 cdc3bb0983a6
child 55654 92ab031d6540
child 58678 9cf78a70fa4f
equal deleted inserted replaced
54422:f562f8318ebd 54423:6c0ab8bd8da5
    53   // store the original value that was in the field reference
    53   // store the original value that was in the field reference
    54   assert(ShenandoahThreadLocalData::satb_mark_queue(thread).is_active(), "Shouldn't be here otherwise");
    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   ShenandoahThreadLocalData::satb_mark_queue(thread).enqueue_known_active(orig);
    56 JRT_END
    56 JRT_END
    57 
    57 
    58 JRT_LEAF(oopDesc*, ShenandoahRuntime::write_barrier_JRT(oopDesc* src))
    58 JRT_LEAF(oopDesc*, ShenandoahRuntime::load_reference_barrier_JRT(oopDesc* src))
    59   oop result = ShenandoahBarrierSet::barrier_set()->write_barrier_mutator(src);
    59   oop result = ShenandoahBarrierSet::barrier_set()->load_reference_barrier_mutator(src);
    60   return (oopDesc*) result;
    60   return (oopDesc*) result;
    61 JRT_END
    61 JRT_END
    62 
    62 
    63 // Shenandoah clone barrier: makes sure that references point to to-space
    63 // Shenandoah clone barrier: makes sure that references point to to-space
    64 // in cloned objects.
    64 // in cloned objects.