Path: blob/master/src/hotspot/share/precompiled/precompiled.hpp
40951 views
/*1* Copyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*22*/2324// Precompiled headers are turned off if the user passes25// --disable-precompiled-headers to configure.2627#ifndef DONT_USE_PRECOMPILED_HEADER2829// These header files are included in at least 130 C++ files, as of30// measurements made in November 2018. This list excludes files named31// *.include.hpp, since including them decreased build performance.3233#include "classfile/classLoaderData.hpp"34#include "classfile/javaClasses.hpp"35#include "classfile/systemDictionary.hpp"36#include "gc/shared/collectedHeap.hpp"37#include "gc/shared/gcCause.hpp"38#include "logging/log.hpp"39#include "memory/allocation.hpp"40#include "memory/iterator.hpp"41#include "memory/memRegion.hpp"42#include "memory/resourceArea.hpp"43#include "memory/universe.hpp"44#include "oops/instanceKlass.hpp"45#include "oops/klass.hpp"46#include "oops/method.hpp"47#include "oops/objArrayKlass.hpp"48#include "oops/objArrayOop.hpp"49#include "oops/oop.hpp"50#include "oops/oopsHierarchy.hpp"51#include "runtime/atomic.hpp"52#include "runtime/globals.hpp"53#include "runtime/handles.hpp"54#include "runtime/mutex.hpp"55#include "runtime/orderAccess.hpp"56#include "runtime/os.hpp"57#include "runtime/thread.hpp"58#include "runtime/timer.hpp"59#include "services/memTracker.hpp"60#include "utilities/align.hpp"61#include "utilities/bitMap.hpp"62#include "utilities/copy.hpp"63#include "utilities/debug.hpp"64#include "utilities/exceptions.hpp"65#include "utilities/globalDefinitions.hpp"66#include "utilities/growableArray.hpp"67#include "utilities/macros.hpp"68#include "utilities/ostream.hpp"69#include "utilities/ticks.hpp"7071#ifdef TARGET_COMPILER_visCPP72// For Visual Studio, including the *.inline.hpp files actually73// increased performance.74#include "memory/allocation.inline.hpp"75#include "oops/access.inline.hpp"76#include "oops/oop.inline.hpp"77#include "runtime/handles.inline.hpp"78#endif // TARGET_COMPILER_visCPP7980#endif // !DONT_USE_PRECOMPILED_HEADER818283