src/share/vm/oops/arrayKlass.cpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 2009, 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, 2010, 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.
*** 20,31 ****
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! # include "incls/_precompiled.incl"
! # include "incls/_arrayKlass.cpp.incl"
int arrayKlass::object_size(int header_size) const {
// size of an array klass object
assert(header_size <= instanceKlass::header_size(), "bad header size");
// If this assert fails, see comments in base_create_array_klass.
--- 20,43 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! #include "precompiled.hpp"
! #include "classfile/javaClasses.hpp"
! #include "classfile/systemDictionary.hpp"
! #include "classfile/vmSymbols.hpp"
! #include "gc_interface/collectedHeap.inline.hpp"
! #include "jvmtifiles/jvmti.h"
! #include "memory/gcLocker.hpp"
! #include "memory/universe.inline.hpp"
! #include "oops/arrayKlass.hpp"
! #include "oops/arrayKlassKlass.hpp"
! #include "oops/arrayOop.hpp"
! #include "oops/instanceKlass.hpp"
! #include "oops/objArrayOop.hpp"
! #include "oops/oop.inline.hpp"
int arrayKlass::object_size(int header_size) const {
// size of an array klass object
assert(header_size <= instanceKlass::header_size(), "bad header size");
// If this assert fails, see comments in base_create_array_klass.