< 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.
* 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.
/*
! * 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(intx, TieredRateUpdateMaxTime, 25, \
"Maximum rate sampling interval (in milliseconds)") \
range(0, max_intx) \
\
+ product(double, Tier0ProfileDelayFactor, 100.0, DIAGNOSTIC, \
+ "Delay profiling/compiling of methods that were " \
+ "observed to be lukewarm") \
+ \
+ product(double, Tier2ProfileDelayFactor, 250.0, DIAGNOSTIC, \
+ "Delay profiling of methods that were observed to be lukewarm") \
+ \
+ product(bool, SkipTier2IfPossible, false, DIAGNOSTIC, \
+ "Compile at tier 4 instead of tier 2 in training replay " \
+ "mode if posssible") \
+ \
product(ccstr, CompilationMode, "default", \
"Compilation modes: " \
"default: normal tiered compilation; " \
"quick-only: C1-only mode; " \
"high-only: C2/JVMCI-only mode; " \
\
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(bool, StoreCachedCode, false, \
+ "Store cached compiled code") \
+ \
+ product(bool, LoadCachedCode, false, \
+ "Load cached compiled code") \
+ \
+ 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(uint, CachedCodeMaxSize, 10*M, \
+ "Buffer size in bytes for code caching") \
+ \
+ 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)
< prev index next >