hotspot/src/share/vm/oops/arrayKlass.hpp
changeset 35900 d64cf9290fc4
parent 35899 0dbc821628fc
child 36508 5f9eee6b383b
equal deleted inserted replaced
35899:0dbc821628fc 35900:d64cf9290fc4
    96 
    96 
    97   GrowableArray<Klass*>* compute_secondary_supers(int num_extra_slots);
    97   GrowableArray<Klass*>* compute_secondary_supers(int num_extra_slots);
    98   bool compute_is_subtype_of(Klass* k);
    98   bool compute_is_subtype_of(Klass* k);
    99 
    99 
   100   // Sizing
   100   // Sizing
   101   static int header_size()                 { return sizeof(ArrayKlass)/wordSize; }
       
   102   static int static_size(int header_size);
   101   static int static_size(int header_size);
   103 
   102 
   104 #if INCLUDE_SERVICES
   103 #if INCLUDE_SERVICES
   105   virtual void collect_statistics(KlassSizeStats *sz) const {
   104   virtual void collect_statistics(KlassSizeStats *sz) const {
   106     Klass::collect_statistics(sz);
   105     Klass::collect_statistics(sz);
   107     // Do nothing for now, but remember to modify if you add new
   106     // Do nothing for now, but remember to modify if you add new
   108     // stuff to ArrayKlass.
   107     // stuff to ArrayKlass.
   109   }
   108   }
   110 #endif
   109 #endif
   111 
   110 
   112   // Java vtable
       
   113   klassVtable* vtable() const;             // return new klassVtable
       
   114  protected:
       
   115   inline intptr_t* start_of_vtable() const;
       
   116 
       
   117  public:
       
   118   // Iterators
   111   // Iterators
   119   void array_klasses_do(void f(Klass* k));
   112   void array_klasses_do(void f(Klass* k));
   120   void array_klasses_do(void f(Klass* k, TRAPS), TRAPS);
   113   void array_klasses_do(void f(Klass* k, TRAPS), TRAPS);
   121 
   114 
   122   // Return a handle.
   115   // Return a handle.