Skip to content
Permalink
Browse files
8253361: Shenandoah: runtime barrier does not honor ShenandoahSelfFix…
…ing flag

Reviewed-by: rkennke
  • Loading branch information
zhengyu123 committed Sep 18, 2020
1 parent f37c34d commit d35b117956cff96bd918f2dd10cdf71829e5c525
Showing 1 changed file with 1 addition and 1 deletion.
@@ -204,7 +204,7 @@ oop ShenandoahBarrierSet::load_reference_barrier_native_impl(oop obj, T* load_ad
}

oop fwd = load_reference_barrier_not_null(obj);
if (load_addr != NULL && fwd != obj) {
if (ShenandoahSelfFixing && load_addr != NULL && fwd != obj) {
// Since we are here and we know the load address, update the reference.
ShenandoahHeap::cas_oop(fwd, load_addr, obj);
}

1 comment on commit d35b117

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on d35b117 Sep 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.