--- a/src/hotspot/share/oops/klass.inline.hpp Fri Mar 23 12:55:39 2018 +0100
+++ b/src/hotspot/share/oops/klass.inline.hpp Thu Mar 15 21:24:10 2018 +0100
@@ -71,13 +71,4 @@
return is_null(v) ? (Klass*)NULL : decode_klass_not_null(v);
}
-template <typename T>
-bool Klass::is_instanceof_or_null(T element) {
- if (oopDesc::is_null(element)) {
- return true;
- }
- oop obj = oopDesc::decode_heap_oop_not_null(element);
- return obj->klass()->is_subtype_of(this);
-}
-
#endif // SHARE_VM_OOPS_KLASS_INLINE_HPP