Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/globals.hpp @ 10293:2958af1d8c5a
Merge
author | jwilhelm |
---|---|
date | Fri, 17 May 2013 06:01:10 +0200 |
parents | f944ba972151 12f651e29f6b |
children | 91eba9f82325 |
comparison
equal
deleted
inserted
replaced
10272:513a5298c1dd | 10293:2958af1d8c5a |
---|---|
284 CounterSetting(intx* cnt) { counter = cnt; (*counter)++; } | 284 CounterSetting(intx* cnt) { counter = cnt; (*counter)++; } |
285 ~CounterSetting() { (*counter)--; } | 285 ~CounterSetting() { (*counter)--; } |
286 }; | 286 }; |
287 | 287 |
288 | 288 |
289 class IntFlagSetting { | 289 class UIntFlagSetting { |
290 intx val; | 290 uintx val; |
291 intx* flag; | 291 uintx* flag; |
292 public: | 292 public: |
293 IntFlagSetting(intx& fl, intx newValue) { flag = &fl; val = fl; fl = newValue; } | 293 UIntFlagSetting(uintx& fl, uintx newValue) { flag = &fl; val = fl; fl = newValue; } |
294 ~IntFlagSetting() { *flag = val; } | 294 ~UIntFlagSetting() { *flag = val; } |
295 }; | 295 }; |
296 | 296 |
297 | 297 |
298 class DoubleFlagSetting { | 298 class DoubleFlagSetting { |
299 double val; | 299 double val; |
511 "Granularity to use for NUMA interleaving on Windows OS") \ | 511 "Granularity to use for NUMA interleaving on Windows OS") \ |
512 \ | 512 \ |
513 product(bool, ForceNUMA, false, \ | 513 product(bool, ForceNUMA, false, \ |
514 "Force NUMA optimizations on single-node/UMA systems") \ | 514 "Force NUMA optimizations on single-node/UMA systems") \ |
515 \ | 515 \ |
516 product(intx, NUMAChunkResizeWeight, 20, \ | 516 product(uintx, NUMAChunkResizeWeight, 20, \ |
517 "Percentage (0-100) used to weight the current sample when " \ | 517 "Percentage (0-100) used to weigh the current sample when " \ |
518 "computing exponentially decaying average for " \ | 518 "computing exponentially decaying average for " \ |
519 "AdaptiveNUMAChunkSizing") \ | 519 "AdaptiveNUMAChunkSizing") \ |
520 \ | 520 \ |
521 product(intx, NUMASpaceResizeRate, 1*G, \ | 521 product(uintx, NUMASpaceResizeRate, 1*G, \ |
522 "Do not reallocate more that this amount per collection") \ | 522 "Do not reallocate more that this amount per collection") \ |
523 \ | 523 \ |
524 product(bool, UseAdaptiveNUMAChunkSizing, true, \ | 524 product(bool, UseAdaptiveNUMAChunkSizing, true, \ |
525 "Enable adaptive chunk sizing for NUMA") \ | 525 "Enable adaptive chunk sizing for NUMA") \ |
526 \ | 526 \ |
527 product(bool, NUMAStats, false, \ | 527 product(bool, NUMAStats, false, \ |
528 "Print NUMA stats in detailed heap information") \ | 528 "Print NUMA stats in detailed heap information") \ |
529 \ | 529 \ |
530 product(intx, NUMAPageScanRate, 256, \ | 530 product(uintx, NUMAPageScanRate, 256, \ |
531 "Maximum number of pages to include in the page scan procedure") \ | 531 "Maximum number of pages to include in the page scan procedure") \ |
532 \ | 532 \ |
533 product_pd(bool, NeedsDeoptSuspend, \ | 533 product_pd(bool, NeedsDeoptSuspend, \ |
534 "True for register window machines (sparc/ia64)") \ | 534 "True for register window machines (sparc/ia64)") \ |
535 \ | 535 \ |
713 "Bump the number of file descriptors to max in solaris.") \ | 713 "Bump the number of file descriptors to max in solaris.") \ |
714 \ | 714 \ |
715 diagnostic(bool, LogEvents, true, \ | 715 diagnostic(bool, LogEvents, true, \ |
716 "Enable the various ring buffer event logs") \ | 716 "Enable the various ring buffer event logs") \ |
717 \ | 717 \ |
718 diagnostic(intx, LogEventsBufferEntries, 10, \ | 718 diagnostic(uintx, LogEventsBufferEntries, 10, \ |
719 "Enable the various ring buffer event logs") \ | 719 "Enable the various ring buffer event logs") \ |
720 \ | 720 \ |
721 product(bool, BytecodeVerificationRemote, true, \ | 721 product(bool, BytecodeVerificationRemote, true, \ |
722 "Enables the Java bytecode verifier for remote classes") \ | 722 "Enables the Java bytecode verifier for remote classes") \ |
723 \ | 723 \ |
1427 "Use parallel threads in the new generation.") \ | 1427 "Use parallel threads in the new generation.") \ |
1428 \ | 1428 \ |
1429 product(bool, ParallelGCVerbose, false, \ | 1429 product(bool, ParallelGCVerbose, false, \ |
1430 "Verbose output for parallel GC.") \ | 1430 "Verbose output for parallel GC.") \ |
1431 \ | 1431 \ |
1432 product(intx, ParallelGCBufferWastePct, 10, \ | 1432 product(uintx, ParallelGCBufferWastePct, 10, \ |
1433 "wasted fraction of parallel allocation buffer.") \ | 1433 "Wasted fraction of parallel allocation buffer.") \ |
1434 \ | 1434 \ |
1435 diagnostic(bool, ParallelGCRetainPLAB, false, \ | 1435 diagnostic(bool, ParallelGCRetainPLAB, false, \ |
1436 "Retain parallel allocation buffers across scavenges; " \ | 1436 "Retain parallel allocation buffers across scavenges; " \ |
1437 " -- disabled because this currently conflicts with " \ | 1437 " -- disabled because this currently conflicts with " \ |
1438 " parallel card scanning under certain conditions ") \ | 1438 " parallel card scanning under certain conditions ") \ |
1439 \ | 1439 \ |
1440 product(intx, TargetPLABWastePct, 10, \ | 1440 product(uintx, TargetPLABWastePct, 10, \ |
1441 "target wasted space in last buffer as pct of overall allocation")\ | 1441 "Target wasted space in last buffer as percent of overall " \ |
1442 "allocation") \ | |
1442 \ | 1443 \ |
1443 product(uintx, PLABWeight, 75, \ | 1444 product(uintx, PLABWeight, 75, \ |
1444 "Percentage (0-100) used to weight the current sample when" \ | 1445 "Percentage (0-100) used to weight the current sample when" \ |
1445 "computing exponentially decaying average for ResizePLAB.") \ | 1446 "computing exponentially decaying average for ResizePLAB.") \ |
1446 \ | 1447 \ |
1514 " during a scavenge") \ | 1515 " during a scavenge") \ |
1515 \ | 1516 \ |
1516 product(bool, AlwaysPreTouch, false, \ | 1517 product(bool, AlwaysPreTouch, false, \ |
1517 "It forces all freshly committed pages to be pre-touched.") \ | 1518 "It forces all freshly committed pages to be pre-touched.") \ |
1518 \ | 1519 \ |
1519 product_pd(intx, CMSYoungGenPerWorker, \ | 1520 product_pd(uintx, CMSYoungGenPerWorker, \ |
1520 "The maximum size of young gen chosen by default per GC worker " \ | 1521 "The maximum size of young gen chosen by default per GC worker " \ |
1521 "thread available") \ | 1522 "thread available") \ |
1522 \ | 1523 \ |
1523 product(bool, CMSIncrementalMode, false, \ | 1524 product(bool, CMSIncrementalMode, false, \ |
1524 "Whether CMS GC should operate in \"incremental\" mode") \ | 1525 "Whether CMS GC should operate in \"incremental\" mode") \ |
1832 "denotes 'do constant GC cycles'.") \ | 1833 "denotes 'do constant GC cycles'.") \ |
1833 \ | 1834 \ |
1834 product(bool, UseCMSInitiatingOccupancyOnly, false, \ | 1835 product(bool, UseCMSInitiatingOccupancyOnly, false, \ |
1835 "Only use occupancy as a crierion for starting a CMS collection") \ | 1836 "Only use occupancy as a crierion for starting a CMS collection") \ |
1836 \ | 1837 \ |
1837 product(intx, CMSIsTooFullPercentage, 98, \ | 1838 product(uintx, CMSIsTooFullPercentage, 98, \ |
1838 "An absolute ceiling above which CMS will always consider the " \ | 1839 "An absolute ceiling above which CMS will always consider the " \ |
1839 "unloading of classes when class unloading is enabled") \ | 1840 "unloading of classes when class unloading is enabled") \ |
1840 \ | 1841 \ |
1841 develop(bool, CMSTestInFreeList, false, \ | 1842 develop(bool, CMSTestInFreeList, false, \ |
1842 "Check if the coalesced range is already in the " \ | 1843 "Check if the coalesced range is already in the " \ |
1871 "(other young collectors) ") \ | 1872 "(other young collectors) ") \ |
1872 \ | 1873 \ |
1873 develop(uintx, PromotionFailureALotInterval, 5, \ | 1874 develop(uintx, PromotionFailureALotInterval, 5, \ |
1874 "Total collections between promotion failures alot") \ | 1875 "Total collections between promotion failures alot") \ |
1875 \ | 1876 \ |
1876 experimental(intx, WorkStealingSleepMillis, 1, \ | 1877 experimental(uintx, WorkStealingSleepMillis, 1, \ |
1877 "Sleep time when sleep is used for yields") \ | 1878 "Sleep time when sleep is used for yields") \ |
1878 \ | 1879 \ |
1879 experimental(uintx, WorkStealingYieldsBeforeSleep, 5000, \ | 1880 experimental(uintx, WorkStealingYieldsBeforeSleep, 5000, \ |
1880 "Number of yields before a sleep is done during workstealing") \ | 1881 "Number of yields before a sleep is done during workstealing") \ |
1881 \ | 1882 \ |
2015 \ | 2016 \ |
2016 develop(uintx, AdaptiveSizePolicyReadyThreshold, 5, \ | 2017 develop(uintx, AdaptiveSizePolicyReadyThreshold, 5, \ |
2017 "Number of collections before the adaptive sizing is started") \ | 2018 "Number of collections before the adaptive sizing is started") \ |
2018 \ | 2019 \ |
2019 product(uintx, AdaptiveSizePolicyOutputInterval, 0, \ | 2020 product(uintx, AdaptiveSizePolicyOutputInterval, 0, \ |
2020 "Collecton interval for printing information; zero => never") \ | 2021 "Collection interval for printing information; zero means never") \ |
2021 \ | 2022 \ |
2022 product(bool, UseAdaptiveSizePolicyFootprintGoal, true, \ | 2023 product(bool, UseAdaptiveSizePolicyFootprintGoal, true, \ |
2023 "Use adaptive minimum footprint as a goal") \ | 2024 "Use adaptive minimum footprint as a goal") \ |
2024 \ | 2025 \ |
2025 product(uintx, AdaptiveSizePolicyWeight, 10, \ | 2026 product(uintx, AdaptiveSizePolicyWeight, 10, \ |
3044 "Max percentage of Metaspace free after GC to avoid shrinking") \ | 3045 "Max percentage of Metaspace free after GC to avoid shrinking") \ |
3045 \ | 3046 \ |
3046 product(uintx, MaxMetaspaceExpansion, ScaleForWordSize(4*M), \ | 3047 product(uintx, MaxMetaspaceExpansion, ScaleForWordSize(4*M), \ |
3047 "Max expansion of Metaspace without full GC (in bytes)") \ | 3048 "Max expansion of Metaspace without full GC (in bytes)") \ |
3048 \ | 3049 \ |
3049 product(intx, QueuedAllocationWarningCount, 0, \ | 3050 product(uintx, QueuedAllocationWarningCount, 0, \ |
3050 "Number of times an allocation that queues behind a GC " \ | 3051 "Number of times an allocation that queues behind a GC " \ |
3051 "will retry before printing a warning") \ | 3052 "will retry before printing a warning") \ |
3052 \ | 3053 \ |
3053 diagnostic(uintx, VerifyGCStartAt, 0, \ | 3054 diagnostic(uintx, VerifyGCStartAt, 0, \ |
3054 "GC invoke count where +VerifyBefore/AfterGC kicks in") \ | 3055 "GC invoke count where +VerifyBefore/AfterGC kicks in") \ |
3072 "Par compact uses a variable scale based on the density of the" \ | 3073 "Par compact uses a variable scale based on the density of the" \ |
3073 "generation and treats this as the max value when the heap is" \ | 3074 "generation and treats this as the max value when the heap is" \ |
3074 "either completely full or completely empty. Par compact also" \ | 3075 "either completely full or completely empty. Par compact also" \ |
3075 "has a smaller default value; see arguments.cpp.") \ | 3076 "has a smaller default value; see arguments.cpp.") \ |
3076 \ | 3077 \ |
3077 product(intx, MarkSweepAlwaysCompactCount, 4, \ | 3078 product(uintx, MarkSweepAlwaysCompactCount, 4, \ |
3078 "How often should we fully compact the heap (ignoring the dead " \ | 3079 "How often should we fully compact the heap (ignoring the dead " \ |
3079 "space parameters)") \ | 3080 "space parameters)") \ |
3080 \ | 3081 \ |
3081 product(intx, PrintCMSStatistics, 0, \ | 3082 product(intx, PrintCMSStatistics, 0, \ |
3082 "Statistics for CMS") \ | 3083 "Statistics for CMS") \ |