changeset 57471:3d21573742c7

8235842: Shenandoah: Implement native LRB for narrow oop Reviewed-by: rkennke
author zgu
date Thu, 12 Dec 2019 15:20:53 -0500
parents 642b562ed16e
children 939e712d581b
files src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.cpp
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.cpp	Thu Dec 12 11:39:49 2019 -0800
+++ b/src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.cpp	Thu Dec 12 15:20:53 2019 -0500
@@ -252,9 +252,7 @@
 }
 
 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>