8253361: Shenandoah: runtime barrier does not honor ShenandoahSelfFixing flag
Reviewed-by: rkennke
This commit is contained in:
parent
f37c34d32e
commit
d35b117956
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user