1/*
2 * Copyright (c) 2010, 2018, 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 for Solaris Studio,
26// or if the user passes --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// *.include.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 "oops/instanceKlass.hpp"
46#include "oops/klass.hpp"
47#include "oops/method.hpp"
48#include "oops/objArrayKlass.hpp"
49#include "oops/objArrayOop.hpp"
50#include "oops/oop.hpp"
51#include "oops/oopsHierarchy.hpp"
52#include "runtime/atomic.hpp"
53#include "runtime/globals.hpp"
54#include "runtime/handles.hpp"
55#include "runtime/mutex.hpp"
56#include "runtime/orderAccess.hpp"
57#include "runtime/os.hpp"
58#include "runtime/thread.hpp"
59#include "runtime/timer.hpp"
60#include "services/memTracker.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
82