hotspot/src/share/vm/oops/typeArrayKlass.hpp
changeset 1668 8ec481b8f514
parent 1 489c9b5090e2
child 2105 347008ce7984
equal deleted inserted replaced
1667:fc79935c3055 1668:8ec481b8f514
    37   // testers
    37   // testers
    38   bool oop_is_typeArray_slow() const    { return true; }
    38   bool oop_is_typeArray_slow() const    { return true; }
    39 
    39 
    40   // klass allocation
    40   // klass allocation
    41   DEFINE_ALLOCATE_PERMANENT(typeArrayKlass);
    41   DEFINE_ALLOCATE_PERMANENT(typeArrayKlass);
    42   static klassOop create_klass(BasicType type, int scale, TRAPS);
    42   static klassOop create_klass(BasicType type, int scale, const char* name_str,
       
    43                                TRAPS);
       
    44   static inline klassOop create_klass(BasicType type, int scale, TRAPS) {
       
    45     return create_klass(type, scale, external_name(type), CHECK_NULL);
       
    46   }
    43 
    47 
    44   int oop_size(oop obj) const;
    48   int oop_size(oop obj) const;
    45   int klass_oop_size() const  { return object_size(); }
    49   int klass_oop_size() const  { return object_size(); }
    46 
    50 
    47   bool compute_is_subtype_of(klassOop k);
    51   bool compute_is_subtype_of(klassOop k);