--- a/src/hotspot/share/oops/access.inline.hpp Tue Sep 17 09:51:02 2019 +0200
+++ b/src/hotspot/share/oops/access.inline.hpp Tue Sep 17 09:51:02 2019 +0200
@@ -206,13 +206,6 @@
}
};
- template <class GCBarrierType, DecoratorSet decorators>
- struct PostRuntimeDispatch<GCBarrierType, BARRIER_EQUALS, decorators>: public AllStatic {
- static bool access_barrier(oop o1, oop o2) {
- return GCBarrierType::equals(o1, o2);
- }
- };
-
// Resolving accessors with barriers from the barrier set happens in two steps.
// 1. Expand paths with runtime-decorators, e.g. is UseCompressedOops on or off.
// 2. Expand paths for each BarrierSet available in the system.
@@ -367,13 +360,6 @@
_resolve_func = function;
return function(obj);
}
-
- template <DecoratorSet decorators, typename T>
- bool RuntimeDispatch<decorators, T, BARRIER_EQUALS>::equals_init(oop o1, oop o2) {
- func_t function = BarrierResolver<decorators, func_t, BARRIER_EQUALS>::resolve_barrier();
- _equals_func = function;
- return function(o1, o2);
- }
}
#endif // SHARE_OOPS_ACCESS_INLINE_HPP