-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8365053: Refresh hotspot precompiled.hpp with headers based on current frequency #26681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
9e0cb7e
a75494f
d6cd068
5672a1b
310694d
5c8179d
5bdafcf
6c9351a
93e4190
edb73e3
dba3a6a
3546dd1
3d78b32
71950ae
3116b39
fbdb011
be25d34
9cae4f5
c0b8c27
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,53 +25,26 @@ | |
// Precompiled headers are turned off if the user passes | ||
// --disable-precompiled-headers to configure. | ||
|
||
// These header files are included in at least 130 C++ files, as of | ||
// measurements made in November 2018. This list excludes files named | ||
// *.inline.hpp, since including them decreased build performance. | ||
|
||
#include "classfile/classLoaderData.hpp" | ||
#include "classfile/javaClasses.hpp" | ||
#include "classfile/systemDictionary.hpp" | ||
#include "gc/shared/collectedHeap.hpp" | ||
#include "gc/shared/gcCause.hpp" | ||
#include "classfile/vmSymbols.hpp" | ||
#include "interpreter/interpreter.hpp" | ||
#include "logging/log.hpp" | ||
#include "memory/allocation.hpp" | ||
#include "memory/iterator.hpp" | ||
#include "memory/memRegion.hpp" | ||
#include "memory/resourceArea.hpp" | ||
#include "logging/logStream.hpp" | ||
#include "memory/allStatic.hpp" | ||
#include "memory/allocation.inline.hpp" | ||
#include "memory/universe.hpp" | ||
#include "nmt/memTracker.hpp" | ||
#include "oops/instanceKlass.hpp" | ||
#include "oops/klass.hpp" | ||
#include "oops/method.hpp" | ||
#include "oops/objArrayKlass.hpp" | ||
#include "oops/objArrayOop.hpp" | ||
#include "oops/oop.hpp" | ||
#include "oops/oopsHierarchy.hpp" | ||
#include "oops/oop.inline.hpp" | ||
#include "runtime/atomic.hpp" | ||
#include "runtime/frame.inline.hpp" | ||
#include "runtime/globals.hpp" | ||
#include "runtime/handles.hpp" | ||
#include "runtime/javaThread.hpp" | ||
#include "runtime/mutex.hpp" | ||
#include "runtime/orderAccess.hpp" | ||
#include "runtime/os.hpp" | ||
#include "runtime/timer.hpp" | ||
#include "runtime/handles.inline.hpp" | ||
#include "runtime/interfaceSupport.inline.hpp" | ||
#include "runtime/mutexLocker.hpp" | ||
#include "runtime/sharedRuntime.hpp" | ||
#include "runtime/stubRoutines.hpp" | ||
#include "utilities/align.hpp" | ||
#include "utilities/bitMap.hpp" | ||
#include "utilities/copy.hpp" | ||
#include "utilities/debug.hpp" | ||
#include "utilities/exceptions.hpp" | ||
#include "utilities/globalDefinitions.hpp" | ||
#include "utilities/growableArray.hpp" | ||
#include "utilities/macros.hpp" | ||
#include "utilities/ostream.hpp" | ||
#include "utilities/ticks.hpp" | ||
|
||
#ifdef TARGET_COMPILER_visCPP | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All of the reported testing was on Linux. These were included specifically because measurements There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Indeed, Visual Studio is the place where PCH is most needed. I see Erik says he tested on Windows with no difference. While he concluded that this means no regression, I see it as a missed opportunity. Giving the Windows platform a bit of extra love can probably increase compilation speed where it is needed the most. |
||
// For Visual Studio, including the *.inline.hpp files actually | ||
// increased performance. | ||
#include "memory/allocation.inline.hpp" | ||
#include "oops/access.inline.hpp" | ||
#include "oops/oop.inline.hpp" | ||
#include "runtime/handles.inline.hpp" | ||
#endif // TARGET_COMPILER_visCPP | ||
#include "utilities/powerOfTwo.hpp" |
Uh oh!
There was an error while loading. Please reload this page.