< prev index next >
src/share/vm/gc/shenandoah/shenandoahBarrierSet.cpp
Print this page
rev 12153 : imported patch shared_sb_stub.patch
*** 371,392 ****
oop result = ((ShenandoahBarrierSet*) oopDesc::bs())->resolve_and_maybe_copy_oop_work2(oop(src));
// tty->print_cr("called C2 write barrier with: %p result: %p copy: %d", (oopDesc*) src, (oopDesc*) result, src != result);
return (oopDesc*) result;
JRT_END
- IRT_LEAF(oopDesc*, ShenandoahBarrierSet::write_barrier_interp(oopDesc* src))
- oop result = ((ShenandoahBarrierSet*)oopDesc::bs())->resolve_and_maybe_copy_oop_work2(oop(src));
- // tty->print_cr("called interpreter write barrier with: %p result: %p", src, result);
- return (oopDesc*) result;
- IRT_END
-
- JRT_LEAF(oopDesc*, ShenandoahBarrierSet::write_barrier_c1(JavaThread* thread, oopDesc* src))
- oop result = ((ShenandoahBarrierSet*)oopDesc::bs())->resolve_and_maybe_copy_oop_work2(oop(src));
- // tty->print_cr("called static write barrier (2) with: "PTR_FORMAT" result: "PTR_FORMAT, p2i(src), p2i((oopDesc*)(result)));
- return (oopDesc*) result;
- JRT_END
-
oop ShenandoahBarrierSet::write_barrier(oop src) {
if (! oopDesc::is_null(src)) {
assert(_heap->is_in(src), "sanity");
assert(src != NULL, "checked before");
oop result = resolve_and_maybe_copy_oopHelper(src);
--- 371,380 ----
< prev index next >