hotspot/src/share/vm/oops/arrayKlass.cpp
changeset 35899 0dbc821628fc
parent 35898 ddc274f0052f
child 35900 d64cf9290fc4
--- a/hotspot/src/share/vm/oops/arrayKlass.cpp	Sat Jan 30 11:02:29 2016 -0500
+++ b/hotspot/src/share/vm/oops/arrayKlass.cpp	Tue Dec 01 10:35:49 2015 +0100
@@ -81,10 +81,10 @@
 ArrayKlass::ArrayKlass(Symbol* name) :
   _dimension(1),
   _higher_dimension(NULL),
-  _lower_dimension(NULL),
-  // Arrays don't add any new methods, so their vtable is the same size as
-  // the vtable of klass Object.
-  _vtable_len(Universe::base_vtable_size()) {
+  _lower_dimension(NULL) {
+    // Arrays don't add any new methods, so their vtable is the same size as
+    // the vtable of klass Object.
+    set_vtable_length(Universe::base_vtable_size());
     set_name(name);
     set_super(Universe::is_bootstrapping() ? (Klass*)NULL : SystemDictionary::Object_klass());
     set_layout_helper(Klass::_lh_neutral_value);