< prev index next >

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

Print this page
rev 52371 : [mq]: lvb.patch

*** 20,48 **** * questions. * */ #include "precompiled.hpp" ! #include "gc/shenandoah/shenandoahBarrierSet.hpp" #include "gc/shenandoah/shenandoahRuntime.hpp" #include "gc/shenandoah/shenandoahThreadLocalData.hpp" #include "runtime/interfaceSupport.inline.hpp" #include "oops/oop.inline.hpp" void ShenandoahRuntime::write_ref_array_pre_oop_entry(oop* dst, size_t length) { ! ShenandoahBarrierSet *bs = ShenandoahBarrierSet::barrier_set(); bs->write_ref_array_pre(dst, length, false); } void ShenandoahRuntime::write_ref_array_pre_narrow_oop_entry(narrowOop* dst, size_t length) { ! ShenandoahBarrierSet *bs = ShenandoahBarrierSet::barrier_set(); bs->write_ref_array_pre(dst, length, false); } void ShenandoahRuntime::write_ref_array_post_entry(HeapWord* dst, size_t length) { ! ShenandoahBarrierSet *bs = ShenandoahBarrierSet::barrier_set(); ! bs->ShenandoahBarrierSet::write_ref_array(dst, length); } // Shenandoah pre write barrier slowpath JRT_LEAF(void, ShenandoahRuntime::write_ref_field_pre_entry(oopDesc* orig, JavaThread *thread)) if (orig == NULL) { --- 20,48 ---- * questions. * */ #include "precompiled.hpp" ! #include "gc/shenandoah/shenandoahBaseBarrierSet.hpp" #include "gc/shenandoah/shenandoahRuntime.hpp" #include "gc/shenandoah/shenandoahThreadLocalData.hpp" #include "runtime/interfaceSupport.inline.hpp" #include "oops/oop.inline.hpp" void ShenandoahRuntime::write_ref_array_pre_oop_entry(oop* dst, size_t length) { ! ShenandoahBaseBarrierSet *bs = ShenandoahBaseBarrierSet::barrier_set(); bs->write_ref_array_pre(dst, length, false); } void ShenandoahRuntime::write_ref_array_pre_narrow_oop_entry(narrowOop* dst, size_t length) { ! ShenandoahBaseBarrierSet *bs = ShenandoahBaseBarrierSet::barrier_set(); bs->write_ref_array_pre(dst, length, false); } void ShenandoahRuntime::write_ref_array_post_entry(HeapWord* dst, size_t length) { ! ShenandoahBaseBarrierSet *bs = ShenandoahBaseBarrierSet::barrier_set(); ! bs->ShenandoahBaseBarrierSet::write_ref_array(dst, length); } // Shenandoah pre write barrier slowpath JRT_LEAF(void, ShenandoahRuntime::write_ref_field_pre_entry(oopDesc* orig, JavaThread *thread)) if (orig == NULL) {
< prev index next >