< prev index next >

src/hotspot/share/compiler/compiler_globals.hpp

Print this page
*** 1,7 ***
  /*
!  * 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.
--- 1,7 ---
  /*
!  * 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.

*** 391,10 ***
--- 391,61 ---
                                                                              \
    product(bool, CaptureBailoutInformation, trueInDebug, DIAGNOSTIC,         \
            "If compilation is stopped with an error, capture diagnostic "    \
            "information at the bailout point")                               \
                                                                              \
+   /* AOT Code Caching flags */                                              \
+                                                                             \
+   product(uint, DisableAOTCode, 0,                                          \
+           "Disable AOT code on some compilation levels "                    \
+           "(T1=1; T2=2; T4=4; T5/preload=8")                                \
+                                                                             \
+   product(uint, ClassInitBarrierMode, 0,                                    \
+           "Produce AOT preload 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, UseAOTCodeLoadThread, false,                                \
+           "Use separate thread for AOT code load")                          \
+                                                                             \
+   product(uint, AOTCodeLoadStart, 0,                                        \
+           "The id of the first AOT code to load")                           \
+                                                                             \
+   product(uint, AOTCodeLoadStop, max_jint,                                  \
+           "The id of the last AOT code to load")                            \
+                                                                             \
+   product(bool, VerifyAOTCode, false, DIAGNOSTIC,                           \
+           "Load AOT 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 >