src/share/vm/oops/objArrayKlass.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/_objArrayKlass.cpp.incl" int objArrayKlass::oop_size(oop obj) const { assert(obj->is_objArray(), "must be object array"); return objArrayOop(obj)->object_size(); } --- 20,58 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #include "precompiled.hpp" ! #include "classfile/systemDictionary.hpp" ! #include "classfile/vmSymbols.hpp" ! #include "gc_implementation/shared/markSweep.inline.hpp" ! #include "gc_interface/collectedHeap.inline.hpp" ! #include "memory/genOopClosures.inline.hpp" ! #include "memory/resourceArea.hpp" ! #include "memory/universe.inline.hpp" ! #include "oops/instanceKlass.hpp" ! #include "oops/objArrayKlass.hpp" ! #include "oops/objArrayKlass.inline.hpp" ! #include "oops/objArrayKlassKlass.hpp" ! #include "oops/objArrayOop.hpp" ! #include "oops/oop.inline.hpp" ! #include "oops/oop.inline2.hpp" ! #include "oops/symbolOop.hpp" ! #include "runtime/handles.inline.hpp" ! #include "runtime/mutexLocker.hpp" ! #include "utilities/copy.hpp" ! #ifndef SERIALGC ! #include "gc_implementation/g1/g1CollectedHeap.inline.hpp" ! #include "gc_implementation/g1/g1OopClosures.inline.hpp" ! #include "gc_implementation/g1/heapRegionSeq.inline.hpp" ! #include "gc_implementation/parNew/parOopClosures.inline.hpp" ! #include "gc_implementation/parallelScavenge/psCompactionManager.hpp" ! #include "gc_implementation/parallelScavenge/psPromotionManager.inline.hpp" ! #include "gc_implementation/parallelScavenge/psScavenge.inline.hpp" ! #include "oops/oop.pcgc.inline.hpp" ! #endif int objArrayKlass::oop_size(oop obj) const { assert(obj->is_objArray(), "must be object array"); return objArrayOop(obj)->object_size(); }