< prev index next >

src/share/vm/oops/arrayKlass.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 83,96 **** } 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()) { set_name(name); set_super(Universe::is_bootstrapping() ? (Klass*)NULL : SystemDictionary::Object_klass()); set_layout_helper(Klass::_lh_neutral_value); set_is_cloneable(); // All arrays are considered to be cloneable (See JLS 20.1.5) TRACE_INIT_ID(this); --- 83,96 ---- } 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. ! 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); set_is_cloneable(); // All arrays are considered to be cloneable (See JLS 20.1.5) TRACE_INIT_ID(this);
< prev index next >