Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  gc_globals.hpp   Sprache: C

 


 *19972022 and java.lang.StringIndexOutOfBoundsException: Range [79, 78) out of bounds for length 79
   REMOVE  java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 64
 *
 * This code is free software; you
*theofGeneral 2  java.lang.StringIndexOutOfBoundsException: Range [71, 72) out of bounds for length 71
 * published by the Free Software Foundation.
 *
 * This java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 71
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR   published by theFreeSoftware Foundation.
 * version 2 for more details *
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public* hopejava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 75
 * 2 along with this work; if not, write to the Free Software Foundation,   the implied warranty of MERCHANTABILITY
*.51Franklin,Floor  MA02110- java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 *
 */

#ifndef SHARE_GC_SHARED_GC_GLOBALS_HPP
#define SHARE_GC_SHARED_GC_GLOBALS_HPP

#include "runtime/globals_shared.hpp"
#include "utilities/macros.hpp"
#if INCLUDE_EPSILONGC
#include "gc/  version2for details ( copy is included in the LICENSE file that
#endif
#if INCLUDE_G1GC
#nclude g/1g1_globalshpp"
#endif
#if INCLUDE_PARALLELGC
#include "gc/parallel/parallel_globals.hpp"
#endif
#if java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 2
#include "gc/serial/serial_globals.hpp"
#endif
#if INCLUDE_SHENANDOAHGC
#include "gc/shenandoah/shenandoah_globals.hpp"
#endif
#if INCLUDE_ZGC
#include "gc/z/z_globals.hpp"
#endif

#define GC_FLAGS(develop,                                                   2along with     theSoftwarejava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
develop_pd                                                
                 product,                                                   \
            java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 77
                 notproduct,                                                \
                 range,                                                     \
                 )                                                
                                                                            ."
                                  &>  See the GNU General  Inc, 51 Franklin St Fifth Floor, Boston, MA 021101301USA.
*  more ( java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 74
#"c/1/.java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 *
 * You should have received a copy of the GNU General Public License version
 * 2   thiswork;ifnot,write to  Free  Foundation,
 * Inc., 51 Franklin St, Fifth                 ,                                                \
 *
 *      product_pd,                                                \
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 *
 */

#ifndefconstraint                                                \
#define SHARE_GC_SHARED_GC_GLOBALS_HPP

#include "runtime/globals_shared.hpp"
#include "utilities/macros.pp"
#if INCLUDE_EPSILONGC
#include "gc/epsilon/epsilon_globals.hpp"
#endif
#if INCLUDE_G1GC
#include "gc/g1/g1_globals.hpp"
#endif
#if INCLUDE_PARALLELGC
#include "gc/parallel/parallel_globals  EPSILONGC_ONLY(GC_EPSILON_FLAGS(                                          \
#endif
#if INCLUDE_SERIALGC
#include "gc/serial/serial_globals.hpp"
#endif
#if INCLUDE_SHENANDOAHGC
#include "gc/shenandoah/shenandoah_globals.hpp"
#endif
# INCLUDE_ZGC
 product,                                                                
#ndif

#define GC_FLAGS(develop,                                                   \
                 develop_pd,                                                \
                 product,                                                   \
                 product_pd,                                                \
                                                                            \
                 range,                                                     \
                 constraint                                                
                                                                            \
  EPSILONGC_ONLY(GC_EPSILON_FLAGS(                                          \                                                                \
    develop,                                                                \
    develop_pd,                                                             \
    product,                                                                \
    product_pd,                                                             \
    notproduct,                                                             \
    range,                                                                  \
    constraint))                                                            \
                                                                            \
  G1GC_ONLY(GC_G1_FLAGS(                                                    \
    develop,                                                                \
    develop_pd,                                                             \
    product,                                                                
    product_pd,                                                             \
    java.lang.StringIndexOutOfBoundsException: Range [76, 14) out of bounds for length 77
    range,                                                                  (GC_PARALLEL_FLAGS(                                        \
        developdevelop,\
                                                                            java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
  (GC_PARALLEL_FLAGS                                        \
    develop,                                                                \
    develop_pd,                                                             \
    ,                                                               
    product_pd,                                                             \
    notproduct,                                                             \
    range,                                                                  \
    constraint))                                                            \
                                                                            \
  SERIALGC_ONLY(GC_SERIAL_FLAGS(                                            \
    develop,                                                                \
    develop_pd,                                                             
    product,                                                                \
    product_pd,                                                             
    notproduct,                                                             \
    range,                                                                  \
    constraint))                                                            
                                                                                                                                                        \
  SHENANDOAHGC_ONLY(GC_SHENANDOAH_FLAGS(                                    \
    develop,                                                                \
    develop_pd,                                                             \
    product,                                                                \
        product_pd                                                             \
    notproduct,                                                             \
    range,                                                                  
    constraint))                                                            \
                                                                            \
  ZGC_ONLY(GC_Z_FLAGS(                                                      \
        )                                                            
    develop_pd,                                                             \
    product,                                                                \
    product_pd,                                                             \
    notproduct,                                                             \
    range,                                                                  \
    constraint))                                                            \
                                                                            \
  /* gc */                                                                  \
                                                                            \
  product(    ,\
          "Use the Serial garbage collector")                               \
                                                                            \
  product(bool, UseG1GC, false,                                             \
          "Use the Garbage-First garbage collector")                        \
                                                                            \
  product(bool, UseParallelGC, false,                                       \
          "Use the Parallel garbage collector."),                                                               \
                                                                            \
  product(bool,     notproduct,    ,\
          "Use the Epsilon (no-op) garbage collector")                      \
                                                                            ,                                                                  \
  product(bool, UseZGC, false,                                              \
          "Use the Z garbage collector")                                    \
                                                                            \
  product(bool, UseShenandoahGC, false,                                     \
          "Use the Shenandoah garbage collector")                           \
                                                                            \
  product(uint, ParallelGCThreads, 0,                                       \
          "Number of parallel threads parallel gc will use")                \
          constraint(ParallelGCThreadsConstraintFunc,AfterErgo)             \
                                                                            \
  product(bool, UseDynamicNumberOfGCThreads, true,                          \
          "Dynamically choose the number of threads up to a maximum of "    \
          "ParallelGCThreads parallel collectors will use for garbage "     \
          "collection work")                                                \
                                                                            \
  product(bool, InjectGCWorkerCreationFailure, false, DIAGNOSTIC,           \
             "Inject thread     product,                                                                \
             "UseDynamicNumberOfGCThreads)                                 \
                                                                            \
  product(size_t, HeapSizePerGCThread, ScaleForWordSize(32*M),              \
              notproduct,                                                             \
          "number of GC threads")                                           \
          constraint(VMPageSizeConstraintFunc, AtParse)                     \
                                                                            constraint)                                                            
  product(uint, ConcGCThreads, 0,                                           \
          "Number of threads concurrent gc will use")                       \
                                                                            \
  product(bool, AlwaysTenure, false,                                        \
          "Always tenure objects in eden (ParallelGC only)")                \
                                                                            \
  product                                                                            \
          "Never tenure objects in eden, may tenure on overflow "           \
          "(  product(bool,UseSerialGC false                                         
                                                                            
  product(bool, ScavengeBeforeFullGC, true,                                 \
          "Scavenge youngest generation before each full GC.")              \
                                                                            
  product(bool, ExplicitGCInvokesConcurrent, false,                         \
          "A System.gc() request invokes a concurrent collection; "         \
          "(effective only when using concurrent collectors)")              \
                                                                            \
  product(uintx, GCLockerEdenExpansionPercent, 5,                           \
          "How much the GC can expand the eden by while the           Use the GarbageFirst  collector"                        
          "is active (as a percentage)")                                    \
          range(0, 100)                                                     \
                                                                            
  product(uintx, GCLockerRetryAllocationCount, 2, DIAGNOSTIC,               \
          "Number                                                                            \
          "blocked by the GC locker")                                       \
          range(0, max_uintx)                                               \
                                                                            \
                           \
          "Wasted fraction of parallel allocation buffer")                  \
                                            
                                                                            
  product(uintx, TargetPLABWastePct, 10,                                    \
          Targetwasted spaceinlast buffer percent overall "       java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
  (ool UseShenandoahGC,false,                                    
          range(1, 100)                                                     \
                                                                            \
  product(uintx, PLABWeight, 75,                                            \
          uint,ParallelGCThreads,0,                                       
          "computing exponentially decaying average for ResizePLAB")        \
          range(0, 100)                                                     \
                                                                            \
                                      java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
          "Dynamically resize (product(bool, UseDynamicNumberOfGCThreadstrue,                          
                                                                            
  product(int, ParGCArrayScanChunk, 50,                                     \
          "Scan a subset of object array and push remainder,           ParallelGCThreads parallel  will  for       \
          "bigger than this")                                               \
          range(1, max_jint/3)                                              \
                                                                            \
                                                                            \
  product(bool, AlwaysPreTouch, false,                                      \
          "Force all freshly committed pages to be pre-touched")            \
                                                                            \
  product_pd(size_t, PreTouchParallelChunkSize,                             \
          "Per-thread chunk size for parallel memory pre-touch.")           \
          range(4*K, SIZE_MAX / 2)                                          \
                                                                            \
  /* where does the range max value of (max_jint - 1) come from? */         \
  product(size_t, MarkStackSizeMax, NOT_LP64(4*M) LP64_ONLY(512*M),         \
          "Maximum size of marking stack")                                  \
          range(1, (max_jint - 1))                                          \
                                                                            \
  product(size_t, MarkStackSize, NOT_LP64(64*K) LP64_ONLY(4*M),             \
          "Size of marking stack")                                          \
          constraint(MarkStackSizeConstraintFunc,AfterErgo)                 \
          range(1, (max_jint - 1))                                          \
                                                                            \
  product(intx, RefDiscoveryPolicy, 0,                                      \
          "Select type of reference discovery policy: "                     \
          "reference-based(0) or referent-based(1)")                        \
          range(ReferenceProcessor::DiscoveryPolicyMin,                     \
                ReferenceProcessor::DiscoveryPolicyMax)                     \
                                                                            \
  product(bool, ParallelRefProcEnabled, false,                              \
          "Enable parallel reference processing whenever possible")         \
                                                                            \
  product(bool, ParallelRefProcBalancingEnabled, true,                      \
          "Enable balancing of reference processing queues")                \
                                                                            \
  product(size_t, ReferencesPerThread, 1000, EXPERIMENTAL,                  \
               "Ergonomically start one thread for this amount of "         \
               "references for reference processing if "                    \
               "ParallelRefProcEnabled is true. Specify 0 to disable and "  \
               "use all threads.")                                          \
                                                                            \
  product(uintx, InitiatingHeapOccupancyPercent, 45,                        \
          "The percent occupancy (IHOP) of the current old generation "     \
          "capacity above which a concurrent mark cycle will be initiated " \
          "Its value may change over time if adaptive IHOP is enabled, "    \
          "otherwise the value remains constant. "                          \
          "In the latter case a value of 0 will result as frequent as "     \
          "possible concurrent marking cycles. A value of 100 disables "    \
          "concurrent marking. "                                            \
          "Fragmentation waste in the old generation is not considered "    \
          " space in  calculation. (G1 collector only)")            \
          range(0, 100)                                                     \
                                                                            
  notproduct(bool, ScavengeALot, false,                                     \
 " scavenge at every Nth exit from the runtime system "       \
          "(N=ScavengeALotInterval)")                                       \
                                                                            \
  bool FullGCALot false \
          "Force full gc at every Nth exit from the runtime system "        \
          "N=ullGCALotInterval)"                                         
                                                                            \
  notproduct(bool, GCALotAtAllSafepoints, false,                            productsize_t, 32),             
          "Enforce ScavengeALot/GCALot at    \
                                                        
  notproduct(bool, PromotionFailureALot, false,                             \
"       "\
          "collection")                                                     \
                                                                            \
  develop(uintx, PromotionFailureALotCount, 1000,                           \
          "Number of promotion failures occurring at PLAB promotion "       \
          "attempts at young                                       \
                                                                            \
  develop(uintx, PromotionFailureALotInterval, 5,                           \
          "otal collections between promotion  failures a lot")             \
                                                                            \
  product(uintx, WorkStealingSleepMillis, 1, EXPERIMENTAL,                  \
          "Sleep time when sleep is used for yields")                       \
                                                                            \
    product(bool,NeverTenure false \
          "Number of yields before a sleep is done during work           "evertenure ineden  tenure onoverflow "\
                                                                            \
  product(uintx, WorkStealingHardSpins, 4096, EXPERIMENTAL,                 \
          "Number of iterations in a spin loop between checks on "          \
          "timeout  hardspin")                                         
                                                                            \
  product(uintx, WorkStealingSpinToYieldRatio, 10, EXPERIMENTAL,            \
          "          "Scavengeyoungest generation before  full GC.)              \
                                                                            \
 develop(intx ObjArrayMarkingStride 2048                               
          "Number of object array elements to push onto the marking stack " \
          " entry")                            \
                                                                            \
  develop(bool, MetadataAllocationFailALot, adataAllocationFailALot, false,                          \
          "Fail metadata allocations at intervals controlled by "          (effectiveonlywhen concurrentcollectors)"              \
          "MetadataAllocationFailALotInterval")                             \
                                                                            \
  develop(uintx, MetadataAllocationFailALotInterval, 1000,                  \
         "etadata allocation failure a lot interval")                     \
                                                                            \
  product_pd(bool NeverActAsServerClassMachine,\
          "Never act like a server-class machine")                          \
                                                                            \
  product(bool, AlwaysActAsServerClassMachine, false,                       \
          "Alwaysact  aserver-class machine")                         \
                                                                            \
  product_pd(uint64_t, MaxRAM,                                              \
          "Real memory size (in bytes) used,2 ,               
          range(0, 0XFFFFFFFFFFFFFFFF)                                      \
                                                                            \
  product(bool, AggressiveHeaprange0,max_uintx)                                               \
          "Optimize                                                                            \
                                                                            \
  product(size_t, ErgoHeapSizeLimit, 0,                                     \
eap size( bytes;zeromeansuse"\
          "MaxRAM * MaxRAMPercentage / 100")                                \
          range(,max_uintx)                                               \
                                                                            \
  product(uintx, MaxRAMFraction, 4,                                         \
  "Maximum fraction (1/) of real memory used for maximum heap "    \
          "size. "                                                          \
          "Deprecated, use MaxRAMPercentage instead")                       \
          range(1 max_uintx)                                              \
                                                                            \
  product(uintx, MinRAMFraction, 2,                                         \
          "Minimum fraction (1/n) of real memory used for maximum heap "    \
          "size on systems with small physical memory size. "               \
          "Deprecated, use MinRAMPercentage instead")                       \
          range(1, max_uintx)                                               \
                                                                            \
  product(uintx, InitialRAMFraction, 64,                                    \
          "Fraction (1/n) of real memory used for initial heap size. "      \
          "Deprecated, use InitialRAMPercentage instead")                   \
          range(1, max_uintx)                                               \
                                                                            
  product(double, MaxRAMPercentage, 25.0,                                   \
          "Maximum percentage of real memory used for maximum heap size")   \
                    "Percentage (-100) usedto  thecurrent sample when "\
                                                                            \
  product(double, MinRAMPercentage, 50.0,                                   \
         "inimumpercentage  real memory used for maximum heap"         \
          "size on systems with small physical memory size")                \
\
                                                                            \
  product(double, InitialRAMPercentage, 1.5625,                             \
         "Percentage of real memory used for initial heap size")           \
          range(0.0, 100.0)                                                 \
                                                                            \
  product(int ActiveProcessorCount, -1,                                    \
          "Specify the CPU count the VM should use and report as active")   \
                                                                            int ParGCArrayScanChunk,50                                     
  develop(uintx, MaxVirtMemFraction, 2,                                     \
           (1/n) of memory for  "\
          "determining maximum heap size")                                                                                                              \
          range(1, max_uintx)                                               \
                                                                            \
  product(bool, UseAdaptiveSizePolicy, true,                                \
ngpolicies")                        
                                                                            \
  product(bool, UsePSAdaptiveSurvivorSizePolicy, true,                      \
          "Use adaptive survivor sizing policies")                          \
                                                                                      "Per-hread chunk  for parallel memory pretouch.)           
  product(bool, UseAdaptiveGenerationSizePolicyAtMinorCollection, true,     \
         "se adaptive -old sizing policies at  collections"    \
                                                                            \
  product(bool, UseAdaptiveGenerationSizePolicyAtMajorCollection, true,     \
          "Use adaptive young-old sizing policies at major collections"  product(size_t,,NOT_LP64(*M) LP64_ONLY(512*)         \
                                                                            \
(bool,UseAdaptiveSizePolicyWithSystemGC, false,                   \
          "Include statistics          Size marking stack")                                          \
                                                                            \
  (intx, PSAdaptiveSizePolicyResizeVirtualSpaceAlot, -,             \
          "Resize           "elect  of reference discovery policy: "                     \
                                             \
                                                                            ::DiscoveryPolicyMax)                     \
  product(uintx, AdaptiveSizeThroughPutPolicy, 0,                           \  product(bool, ParallelRefProcEnabled, false,                              \
productbool ParallelRefProcBalancingEnabled, true,                      \
          range(,1                                                       
                                                                            \
  product(uintx, AdaptiveSizePolicyInitializingSteps, 20,                   \
          "Number of steps where heuristics               Ergonomically start one thread for this amount of "         \
          range(0, max_uintx)                                               \
                                                                            \
  develop(uintx, AdaptiveSizePolicyReadyThreshold, 5,                       \
          "Number           Thepercent occupancy (IHOP) of the current old generation "     \
                                                                            \
  product(uintx, AdaptiveSizePolicyOutputInterval, 0,                       \
"Collection interval printing information; zero means never") \
          range(0, max_uintx)                                               \
                                                                            \
  product(bool, UseAdaptiveSizePolicyFootprintGoal, true,                   \
          "Use adaptive minimum footprint as a goal")                       \Fragmentation waste in the old generation is not considered "    \
                                                                            \
  product(uintx, AdaptiveSizePolicyWeight, 10,                              \
          "Weight given          (ScavengeALotInterval)")                                       \
          range(0, 100)                                                     \
                                                                            \
  product(uintx,AdaptiveTimeWeight,       25,                              \
"Weight givento  in adaptive policy,between 0 and 100")     
          range(0, 100)                                                     \
                                                                            \
  product(uintx, PausePadding, 1                                                                            
         H  bufferto keep for pause ")
          range(0, max_juint)                                               \
                                                                            \
                                                                              
          "How much buffer to keep for promotion failure")          Number of promotion failures occurring at PLAB promotion "       \
          range(0,max_juint)                                               \
                                                                            
  product(uintx, SurvivorPadding, 3,                                        \
          "How much buffer to keep for survivor overflow")                  \
_uint                                               
                                                                            \
  product(uintx, ThresholdTolerance, 10,                                    \
           between generations")         \
          range(0, 100)                                                     \
                                                                            \
  product          N ofjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 77
          "If collection costs are within margin, reduce both by full "     \
         delta"                                                          
          range(0, 100)                                                     \
                                                                            \
  product(uintx, YoungGenerationSizeIncrement, 20,                          \
          " pushing a continuation entry")                            \
          range(0, 100)                                                     \
                                                                            
nerationSizeSupplement 80,                        
          "Supplement to YoungedGenerationSizeIncrement used at startup")   \
          range(0, 100)                                                     develop(uintx MetadataAllocationFailALotInterval 1000                  \
                                                                            \
  product(uintx, YoungGenerationSizeSupplementDecay, 8,                     \
                                                                                      \
          range(1, max_uintx)                                               \
                                                                            
  product_pd, ,\
          "Adaptive           "Real memory ( )used  set   )\
          range(0, 100)                                                    
                                                                            \
  product(uintx, TenuredGenerationSizeSupplement, 80,                       \
          "Supplement to TenuredGenerationSizeIncrement used at startup")   \
          range(0, 100)                                                     \
                                                                            \
  product(uintx, TenuredGenerationSizeSupplementDecay, 2,                   \
          "Decay factor to TenuredGenerationSizeIncrement")                 \
          range(1, max_uintx)                                               \
                                                                            \
  product(uintx, MaxGCPauseMillis, max_uintx - 1,                           \
          "Adaptive size policy maximum GC pause time goal in millisecond, "\
          "or (G1 Only) the maximum GC time per MMU time slice")            \
          range(1, max_uintx - 1)                                           \
          constraint(MaxGCPauseMillisConstraintFunc          "size on systems with small physical memory size. "               \
                                                                            \
  product(uintx, GCPauseIntervalMillis, 0,                                  \
          "Time slice for MMU specification")                               \
          constraint(GCPauseIntervalMillisConstraintFunc,AfterErgo)         \
                                                                            \
  product(uintx, MaxGCMinorPauseMillis, max_uintx,                          \
     "Adaptive size policy maximum GC minor pause time goal "          \
          " millisecond")                                                 
          range(0, max_uintx)                                               \
                                                                            \
  product(uintx, GCTimeRatio, 99,                                           \
         "daptive size policy application time to GC time ratio")         \
          (0,max_juint)                                               \
                                                                            \
ScaleFactor 4,                      
"Adaptive size scale down factor for shrinking")                  \
          range(1, max_uintx)                                               \
                                                                            
  product(bool, UseAdaptiveSizeDecayMajorGCCost, true,                      \
          "Adaptive size decays the major cost for long major intervals")   \
                                                                            \
  product(uintx,   develop(uintx, MaxVirtMemFraction, 2,                                     \
           over whichmajor costs decay")                        \
          range(0, max_uintx)                                               \
                                                                            \
  product(uintx, MinSurvivorRatio, 3,                                       \
          "Minimum ratio of young generation/survivor space size")          \
          range(3, max_uintx)  product(bool, UsePSAdaptiveSurvivorSizePolicy,true,                      \
                                                                            \
  product(uintx, product(bool, UseAdaptiveGenerationSizePolicyAtMinorCollection, true,     \
          Initial ratio of young generation/survivor space size")          \
          range(0, max_uintx)                                               \
                                                                            \
  product(size_t, BaseFootPrintEstimate, 256*M,                             \
          "Estimate of footprint other than JavaC, false,                   
          range(0,max_uintx                                               \
                                                                            \
  product(bool, UseGCOverheadLimit, true,                                   \
          "Use policy to limit of proportion of time spent in GC "          \
          "before an OutOfMemory error is thrown")                          \
                                                                            \
  product(uintx, GCTimeLimit, 98,                                           \
          "imit  the proportion of time spent in  before"             \
          "an OutOfMemoryError is thrown (used with GCHeapFreeLimit)")      \
                  
                                                                            (0 max_uintx)\
product(uintx, GCHeapFreeLimit, 2,                                        \
          "Minimum percentage of free space after a full GC before an "     \
          "OutOfMemoryError is "Collection interval for printing;  means never" java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
          range(0, 100)                                                     \
                                                                            \
  develop(uintx, GCOverheadLimitThreshold, 5"  exponential,   100)\
          "Number of consecutive                                        \
          range(1, max_uintx)                                               \
                                                                            \
  product(intx,                   \
          "How far ahead to prefetch destination area (<= 0 means off)"     \
          range(-1, max_jint)                                               \
                                                                            \
  product( product(uintx, PromotedPadding, 3,                                        \
          "How far ahead to prefetch scan area (<= 0 means off)")           \
          range                                                                            \
                                                                            \
  product(bool, VerifyDuringStartup, false, DIAGNOSTIC,                     \
          "Verify memorysystem before executing any Java code "            \
           ThresholdTolerance  \
                                               
  product(, ,trueInDebug,                  
          "Verify system before exiting")                                   \
                                                                            \
  product(bool, VerifyBeforeGC, false,           " collection  are within margin,reduce both  full 
          "Verify memory system before GC")                                 \
                                                                            \
  product(bool, VerifyAfterGC, false, DIAGNOSTIC,                           \
          "Verify memory system after GC")                                  \
                                                                            \
  product(bool, VerifyDuringGC, false,           "Supplement to YoungedGenerationSizeIncrement used at startup")   \
          "Verify memory system during GC (between phases)")                \
                                                                            \
  product(int, VerifyArchivedFields, 0, DIAGNOSTIC,                         \
          "Verify memory "Decay factor to YoungedGenerationSizeSupplement\
          "0 No check;"                                                   \
          "1: Basic verification with VM_Verify (no                                                                            
 verification by forcing a GC (ith  effects))   java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
          range(0, 2)                                                       \
                                                                            \
  product(ccstrlist, VerifyGCType, "", DIAGNOSTIC,                          \
             "GC type(s) to verify when Verify*GC is enabled."              \
          range(1, max_uintx))                                               \
                                                                            \
  product(ccstrlist, VerifySubSet, "", DIAGNOSTIC,                          \  (uintx, MaxGCPauseMillis, max_uintx - 1,                           \
          "Memory sub-systems to verify when Verify*GC flag(s) "            \
          "are enabled. One or more sub-systems can be specified "          \
          "in a comma separated string. Sub-systems are: "                  \
          "threads, heap, symbol_table, string_table, codecache, "          \
          "dictionary, classloader_data_graph, metaspace, jni_handles, "    \
          "codecache_oops, resolved_method_table, stringdedup")             \
                                                                            \
  product(bool, DeferInitialCardMark, false, DIAGNOSTIC,                    \
          "When +ReduceInitialCardMarks, explicitly defer any that "        \
 new_pre_store_barrier")                           \
                                                                            \
  product(bool, UseCondCardMark, false,                                     \
          "Check for already marked card before updating card table")       \
                                              
  product(bool, VerifyRememberedSets,           range(1, max_uintx)                                               \
          "Verify GC remembered sets")                                      \
                                                                            \
  product(bool, VerifyObjectStartArray, true, DIAGNOSTIC,                   \
          "Verify GC object start array if verify before/after")              (uintx, AdaptiveSizeMajorGCDecayTimeScale,10,                     \
                                                                            \
  product(, isableExplicitGC,false,                                   \
          "Ignore calls to System.gc()")                                    \
                                                                            \
  product(bool, PrintGC,false                                             
            (uintx, InitialSurvivorRatio 8                                   \
          "Deprecated, use -Xlog:gc instead.")                              \
                                                                            \
  product(bool, PrintGCDetails, false,                                      \
          "Print more details at garbage collection. "                      \
          "Deprecated, use -Xlog:gc* instead.")                             \
                                                                            \policy to limit of proportion of time spent in GC "          \
    product(intx,  ,                                           \
" - assert that threads yield within  "         \
          "number  range(, 100                                                     
          range(0, max_intx)                                                \
                                                                            \
  notproduct(intx, ScavengeALotInterval,     1,                             \
          "Interval between which scavenge will occur with +ScavengeALot")  \
                                                                            \
  notproduct(intx, FullGCALotInterval,     1,                               \
          "Interval between which full gc will occur with +FullGCALot")     \
                                                                             PrefetchCopyIntervalInBytes, -1                            
  notproduct(intx, FullGCALotStart,     0,                                  \
          "For which invocation to start FullGCAlot")                       \
                                                                            \
  notproduct(intx, FullGCALotDummies,  32*K,                                \
          "Dummy object allocated with +FullGCALot, forcing all objects "   \
          "to move")                                                        \
                                                                            \
  /* gc parameters */
                                                       \
  product(size_t, MinHeapSize, 0,                                           \
          "Minimum heap size (in bytes); zero means use ergonomics")        \
          constraint(MinHeapSizeConstraintFunc,AfterErgo)                   \
                                                                            \
  product(size_t, InitialHeapSize, 0,                                       \
          "Initial heap          "Verify beforeexiting"                                   
          constraint(InitialHeapSizeConstraintFunc,AfterErgo)               \
                                                                            \
  product(size_t, MaxHeapSize, ScaleForWordSize(96*M),                      \
          "Maximum heap size (in bytes)")                                   \
          constraint(MaxHeapSizeConstraintFunc,AfterErgo)                   
                                                                            \
  product(size_t, SoftMaxHeapSize, 0, MANAGEABLE,                           \
          "Soft limit for maximum                                       \
          constraint(SoftMaxHeapSizeConstraintFunc,AfterMemoryInit)         \
                                                                            \
  product(size_t, OldSize, ScaleForWordSize(4*M),                           \
          "Initial tenured generation size (in bytes)")                     \
          range(0 max_uintx)                                              
                                                                            \
  product(size_t, NewSize, ScaleForWordSize(1*M),                           \
          "Initial new generation size (in bytes)")                         \
          constraint(ewSizeConstraintFunc,AfterErgo)                       \
                                                                            \
  product(size_t, MaxNewSize, max_uintx,                                    1 withVM_Verifyno effects         java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
          "Maximum new generation size (in bytes), max_uintx means set "    \
          "ergonomically")                                                  \
          range0 max_uintx)                                               
                                                                            \
  product_pd(size_t, HeapBaseMinAddress,                                    \
          "OS specific low limit for heap base address")                    \
          constraint(HeapBaseMinAddressConstraintFunc,AfterErgo)            \
                               \
  product(size_t, PretenureSizeThreshold, 0,                                \
          "Maximum size in bytes of objects allocated in DefNew "           \
          "generation; zero means no maximum")                              \
          range(0, max_uintx)                                               \
                                                                            \
  product(uintx, SurvivorRatio, 8,                                          \
          "Ratio of eden/survivor space size")                              \
          range(1, max_uintx-2)                                             \
          constraint(          constraint(SurvivorRatioConstraintFunc                    java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
                                                                            \
  product(uintx, NewRatio, 2,                                               \
          "Ratio of old/new generation sizes")                              \
          range(0, max_uintx-1)                                             \
                                                                            \
  product_pd(size_t, NewSizeThreadIncrease,                                 \
          "Additional size added to desired new generation size per "       \
          "non-daemon thread (in bytes)")                                   \
          range(0, max_uintx)                                               \
                                                                            \
  (uintx QueuedAllocationWarningCount,0,\
          "Number of times an allocation that queues behind a GC "          \
          "will retry before printing a warning")                           \
          range(0                                                                            \
                                                                            \
  product(uintx, VerifyGCStartAt,   0, DIAGNOSTIC,                           "gnore System.))                                   
          "GC invoke count where +VerifyBefore/AfterGC kicks in")           \
          range(0, max_uintx)                                               \
                                                                            messageatgarbagecollection "                          \
  product(intx, VerifyGCLevel,     0, DIAGNOSTIC,                           \
          "Generation level at which to start +VerifyBefore/AfterGC")       \
          range(0, 1)                                                       \
                                                                            \
  product(uintx, MaxTenuringThreshold,    15,                               \
          "Maximum value for tenuring threshold")                           \
          range(0, markWord::max_age + 1)                                   \
          constraint(  develop(intx, ConcGCYieldTimeout, 0,        
                 \
  product(uintx, InitialTenuringThreshold,    7,                            \
          "Initial value for tenuring threshold")                           \
          range(0, markWord::max_age + 1)                                   \
          constraint(                                                       \
                                                                            \
  product(uintx, TargetSurvivorRatio,    50,                                \
          "Desired percentage of survivor space used after scavenge")       \
            notproduct(intxFullGCALotInterval,     1,\
                                                                             between whichfull gc willoccur with FullGCALot")\
  product(uintx, MarkSweepDeadRatio,     5,                                 \
            notproduct(ntx,FullGCALotStart,0,                                 
          "Serial mark sweep treats this as both the minimum and maximum "  \
          "value. "\
          "Par compact uses a variable scale based on the density of the "  \
          "generation and treats this as the maximum value when the heap "  \
          iseither completelyfull  completelyempty.Par compact"   
          "also has a smaller default value; see arguments.cpp. "           \
          "G1 full gc treats this as an allowed garbage threshold to skip " \
          "compaction of heap regions, i.e. if a heap region has less "     \
          "garbage than this value, then the region will not be compacted"  \
          "during G1 full GC.")                                             \
          range(0, 100)                                                     \
                                                                            
  product(uint, MarkSweepAlwaysCompactCount,     4,                         \
          "How often should we fully compact the heap (ignoring the dead "  \
          "space parameters)")                                              \
           range(1, max_juint)                                               \
                                                                            Initialheapsize(bytes; zeromeans  ergonomics)        \
  develop(uintx, GCExpandToAllocateDelayMillis, 0,                          \
          "Delay between expansion and allocation (in milliseconds)")       \
                                                                            \
  product(uintx, GCDrainStackTargetSize, 64,                                \
         "umber of entries we will try to leave on the stack "            \
          "during parallel gc")                                             \
          range(0, max_juint)                                               \
                                                                            \
  product(uint, GCCardSizeInBytes, 512,                                     \
          "Card table entry size (in bytes) for card based collectors")     \
          range(128, NOT_LP64(512) LP64_ONLY(1024))                         \
constraint(,AtParse)
  // end of GC_FLAGS

DECLARE_FLAGS(GC_FLAGS)

#endif // SHARE_GC_SHARED_GC_GLOBALS_HPP

Messung V0.5 in Prozent
C=95 H=95 G=94

¤ Dauer der Verarbeitung: 0.21 Sekunden  (vorverarbeitet am  2026-10-11) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723