1 /*
 2  * Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
 3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 4  *
 5  * This code is free software; you can redistribute it and/or modify it
 6  * under the terms of the GNU General Public License version 2 only, as
 7  * published by the Free Software Foundation.
 8  *
 9  * This code is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12  * version 2 for more details (a copy is included in the LICENSE file that
13  * accompanied this code).
14  *
15  * You should have received a copy of the GNU General Public License version
16  * 2 along with this work; if not, write to the Free Software Foundation,
17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20  * or visit www.oracle.com if you need additional information or have any
21  * questions.
22  *
23  */
24 
25 // Precompiled headers are turned off if the user passes
26 // --disable-precompiled-headers to configure.
27 
28 #ifndef DONT_USE_PRECOMPILED_HEADER
29 
30 // These header files are included in at least 130 C++ files, as of
31 // measurements made in November 2018. This list excludes files named
32 // *.inline.hpp, since including them decreased build performance.
33 
34 #include "classfile/classLoaderData.hpp"
35 #include "classfile/javaClasses.hpp"
36 #include "classfile/systemDictionary.hpp"
37 #include "gc/shared/collectedHeap.hpp"
38 #include "gc/shared/gcCause.hpp"
39 #include "logging/log.hpp"
40 #include "memory/allocation.hpp"
41 #include "memory/iterator.hpp"
42 #include "memory/memRegion.hpp"
43 #include "memory/resourceArea.hpp"
44 #include "memory/universe.hpp"
45 #include "nmt/memTracker.hpp"
46 #include "oops/instanceKlass.hpp"
47 #include "oops/klass.hpp"
48 #include "oops/method.hpp"
49 #include "oops/objArrayKlass.hpp"
50 #include "oops/objArrayOop.hpp"
51 #include "oops/oop.hpp"
52 #include "oops/oopsHierarchy.hpp"
53 #include "runtime/atomic.hpp"
54 #include "runtime/globals.hpp"
55 #include "runtime/handles.hpp"
56 #include "runtime/javaThread.hpp"
57 #include "runtime/mutex.hpp"
58 #include "runtime/orderAccess.hpp"
59 #include "runtime/os.hpp"
60 #include "runtime/timer.hpp"
61 #include "utilities/align.hpp"
62 #include "utilities/bitMap.hpp"
63 #include "utilities/copy.hpp"
64 #include "utilities/debug.hpp"
65 #include "utilities/exceptions.hpp"
66 #include "utilities/globalDefinitions.hpp"
67 #include "utilities/growableArray.hpp"
68 #include "utilities/macros.hpp"
69 #include "utilities/ostream.hpp"
70 #include "utilities/ticks.hpp"
71 
72 #ifdef TARGET_COMPILER_visCPP
73 // For Visual Studio, including the *.inline.hpp files actually
74 // increased performance.
75 #include "memory/allocation.inline.hpp"
76 #include "oops/access.inline.hpp"
77 #include "oops/oop.inline.hpp"
78 #include "runtime/handles.inline.hpp"
79 #endif // TARGET_COMPILER_visCPP
80 
81 #endif // !DONT_USE_PRECOMPILED_HEADER