src/hotspot/share/oops/klass.hpp
changeset 53153 af7afdababd3
parent 53152 08db5aa02f7b
child 53244 9807daeb47c4
--- a/src/hotspot/share/oops/klass.hpp	Sat Jan 05 20:08:24 2019 +0100
+++ b/src/hotspot/share/oops/klass.hpp	Sat Jan 05 20:11:15 2019 +0100
@@ -429,14 +429,7 @@
   static jint array_layout_helper(BasicType etype);
 
   // What is the maximum number of primary superclasses any klass can have?
-#ifdef PRODUCT
   static juint primary_super_limit()         { return _primary_super_limit; }
-#else
-  static juint primary_super_limit() {
-    assert(FastSuperclassLimit <= _primary_super_limit, "parameter oob");
-    return FastSuperclassLimit;
-  }
-#endif
 
   // vtables
   klassVtable vtable() const;