< prev index next > src/hotspot/share/compiler/compiler_globals.hpp
Print this page
/*
- * Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2025, 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.
\
product(bool, CaptureBailoutInformation, trueInDebug, DIAGNOSTIC, \
"If compilation is stopped with an error, capture diagnostic " \
"information at the bailout point") \
\
+ /* Code Caching flags */ \
+ \
+ product(bool, UseC2asC3, false, \
+ "Use C2 as 3rd compiler when other high-optimizing compiler " \
+ "is used") \
+ \
+ product(uint, DisableCachedCode, 0, \
+ "Disable cached code on some compilation levels " \
+ "(T1=1; T2=2; T4=4; T5/preload=8") \
+ \
+ product(uint, ClassInitBarrierMode, 0, \
+ "Produce and use startup code which could be called " \
+ "on first method invocation, add class initialization barriers, " \
+ "other checks and constrains if needed " \
+ "(0: no barriers; 1: uncommon trap; 2: full barrier)") \
+ \
+ product(bool, StressClassInitBarriers, false, DIAGNOSTIC, \
+ "Force slow path in class initialization barriers") \
+ \
+ product(bool, UseMetadataPointers, true, \
+ "Store Metadata pointers in Relocation Info for cached code") \
+ \
+ product(bool, UseCodeLoadThread, true, \
+ "Use separate thread for cached code load") \
+ \
+ product(uint, SCLoadStart, 0, \
+ "The id of the first cached code to load") \
+ \
+ product(uint, SCLoadStop, max_jint, \
+ "The id of the last cached code to load") \
+ \
+ product(bool, VerifyCachedCode, false, DIAGNOSTIC, \
+ "Load compiled code but not publish") \
+ \
+ product(bool, UseGlobalCompileQueueLock, false, \
+ "Use a global lock for all compilation queues") \
+ \
+ product(bool, UseLockFreeCompileQueues, true, \
+ "Use lock free compile queues") \
+ \
+ product(bool, PrecompileCode, false, \
+ "Precompile code") \
+ \
+ product(bool, PrecompileOnlyAndExit, false, \
+ "Exit after precompilation step is over") \
+ \
+ product(bool, PreloadReduceTraps, true, DIAGNOSTIC, \
+ "Preload code should avoid traps as much as possible.") \
+ \
+ product(bool, PreloadBlocking, false, DIAGNOSTIC, \
+ "Preload code is processed with blocking. Startup would not " \
+ "proceed until all code preloaded code is done loading.") \
+ \
+ product(bool, PreloadOnly, false, EXPERIMENTAL, \
+ "Use preload code exclusively. This effectively disables most of "\
+ "profiling and JIT compilation, running close to AOT-only mode.") \
+ \
+
// end of COMPILER_FLAGS
DECLARE_FLAGS(COMPILER_FLAGS)
#endif // SHARE_COMPILER_COMPILER_GLOBALS_HPP
< prev index next >