< prev index next >

src/hotspot/share/ci/ciObjArrayKlass.hpp

Print this page
*** 36,10 ***
--- 36,11 ---
    friend class ciEnv;
  
  private:
    ciKlass* _element_klass;
    ciKlass* _base_element_klass;
+   bool     _null_free;
  
  protected:
    ciObjArrayKlass(Klass* k);
    ciObjArrayKlass(ciSymbol* array_name,
                    ciKlass* base_element_klass,

*** 73,8 ***
--- 74,14 ---
    bool is_obj_array_klass() const { return true; }
  
    static ciObjArrayKlass* make(ciKlass* element_klass);
  
    virtual ciKlass* exact_klass();
+ 
+   virtual bool can_be_inline_array_klass() {
+     return element_klass()->can_be_inline_klass();
+   }
+ 
+   virtual bool is_elem_null_free() const { return _null_free; }
  };
  
  #endif // SHARE_CI_CIOBJARRAYKLASS_HPP
< prev index next >