src/hotspot/share/oops/arrayKlass.cpp
changeset 50113 caf115bb98ad
parent 49948 ff8dbb56740a
child 50304 d5331b94f821
equal deleted inserted replaced
50112:7a2a740815b7 50113:caf115bb98ad
    89     set_vtable_length(Universe::base_vtable_size());
    89     set_vtable_length(Universe::base_vtable_size());
    90     set_name(name);
    90     set_name(name);
    91     set_super(Universe::is_bootstrapping() ? (Klass*)NULL : SystemDictionary::Object_klass());
    91     set_super(Universe::is_bootstrapping() ? (Klass*)NULL : SystemDictionary::Object_klass());
    92     set_layout_helper(Klass::_lh_neutral_value);
    92     set_layout_helper(Klass::_lh_neutral_value);
    93     set_is_cloneable(); // All arrays are considered to be cloneable (See JLS 20.1.5)
    93     set_is_cloneable(); // All arrays are considered to be cloneable (See JLS 20.1.5)
    94     TRACE_INIT_ID(this);
    94     JFR_ONLY(INIT_ID(this);)
    95 }
    95 }
    96 
    96 
    97 
    97 
    98 // Initialization of vtables and mirror object is done separatly from base_create_array_klass,
    98 // Initialization of vtables and mirror object is done separatly from base_create_array_klass,
    99 // since a GC can happen. At this point all instance variables of the ArrayKlass must be setup.
    99 // since a GC can happen. At this point all instance variables of the ArrayKlass must be setup.