equal
deleted
inserted
replaced
79 } |
79 } |
80 |
80 |
81 ArrayKlass::ArrayKlass(Symbol* name) : |
81 ArrayKlass::ArrayKlass(Symbol* name) : |
82 _dimension(1), |
82 _dimension(1), |
83 _higher_dimension(NULL), |
83 _higher_dimension(NULL), |
84 _lower_dimension(NULL), |
84 _lower_dimension(NULL) { |
85 // Arrays don't add any new methods, so their vtable is the same size as |
85 // Arrays don't add any new methods, so their vtable is the same size as |
86 // the vtable of klass Object. |
86 // the vtable of klass Object. |
87 _vtable_len(Universe::base_vtable_size()) { |
87 set_vtable_length(Universe::base_vtable_size()); |
88 set_name(name); |
88 set_name(name); |
89 set_super(Universe::is_bootstrapping() ? (Klass*)NULL : SystemDictionary::Object_klass()); |
89 set_super(Universe::is_bootstrapping() ? (Klass*)NULL : SystemDictionary::Object_klass()); |
90 set_layout_helper(Klass::_lh_neutral_value); |
90 set_layout_helper(Klass::_lh_neutral_value); |
91 set_is_cloneable(); // All arrays are considered to be cloneable (See JLS 20.1.5) |
91 set_is_cloneable(); // All arrays are considered to be cloneable (See JLS 20.1.5) |
92 TRACE_INIT_ID(this); |
92 TRACE_INIT_ID(this); |