< prev index next >

src/hotspot/share/oops/typeArrayKlass.inline.hpp

Print this page
@@ -33,11 +33,11 @@
  #include "oops/typeArrayOop.hpp"
  
  class OopIterateClosure;
  
  inline void TypeArrayKlass::oop_oop_iterate_impl(oop obj, OopIterateClosure* closure) {
-   assert(obj->is_typeArray(),"must be a type array");
+   assert(UseCompactObjectHeaders || obj->is_typeArray(),"must be a type array");
    // Performance tweak: We skip processing the klass pointer since all
    // TypeArrayKlasses are guaranteed processed via the null class loader.
  }
  
  template <typename T, typename OopClosureType>
< prev index next >