8235842: Shenandoah: Implement native LRB for narrow oop

Reviewed-by: rkennke
This commit is contained in:
Zhengyu Gu 2019-12-12 15:20:53 -05:00
parent 2d2383bf32
commit 9b4539886c

View File

@ -252,9 +252,7 @@ oop ShenandoahBarrierSet::load_reference_barrier_native(oop obj, oop* load_addr)
}
oop ShenandoahBarrierSet::load_reference_barrier_native(oop obj, narrowOop* load_addr) {
// Assumption: narrow oop version should not be used anywhere.
ShouldNotReachHere();
return NULL;
return load_reference_barrier_native_impl(obj, load_addr);
}
template <class T>