changeset 57592:b3836e615d52

8235842: Shenandoah: Implement native LRB for narrow oop Reviewed-by: rkennke
author zgu
date Thu, 12 Dec 2019 15:20:53 -0500
parents 2383b1a86007
children b02019841086
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 18:34:30 2019 +0100
+++ 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>