Mercurial > hg > truffle
comparison src/share/vm/runtime/globals.hpp @ 6818:22b8d3d181d9
8000351: Tenuring threshold should be unsigned
Summary: Change the flags and variables related to tenuring threshold to be unsigned
Reviewed-by: jmasa, johnc
author | jwilhelm |
---|---|
date | Wed, 03 Oct 2012 20:31:41 +0200 |
parents | f81a7c0c618d |
children | 6e5a59a8e4a7 c3e799c37717 |
comparison
equal
deleted
inserted
replaced
6817:f81a7c0c618d | 6818:22b8d3d181d9 |
---|---|
471 "Use lwsync instruction if true, else use slower sync") \ | 471 "Use lwsync instruction if true, else use slower sync") \ |
472 \ | 472 \ |
473 develop(bool, CleanChunkPoolAsync, falseInEmbedded, \ | 473 develop(bool, CleanChunkPoolAsync, falseInEmbedded, \ |
474 "Whether to clean the chunk pool asynchronously") \ | 474 "Whether to clean the chunk pool asynchronously") \ |
475 \ | 475 \ |
476 /* Temporary: See 6948537 */ \ | 476 /* Temporary: See 6948537 */ \ |
477 experimental(bool, UseMemSetInBOT, true, \ | 477 experimental(bool, UseMemSetInBOT, true, \ |
478 "(Unstable) uses memset in BOT updates in GC code") \ | 478 "(Unstable) uses memset in BOT updates in GC code") \ |
479 \ | 479 \ |
480 diagnostic(bool, UnlockDiagnosticVMOptions, trueInDebug, \ | 480 diagnostic(bool, UnlockDiagnosticVMOptions, trueInDebug, \ |
481 "Enable normal processing of flags relating to field diagnostics")\ | 481 "Enable normal processing of flags relating to field diagnostics")\ |
1624 \ | 1624 \ |
1625 develop(intx, CMSDictionaryChoice, 0, \ | 1625 develop(intx, CMSDictionaryChoice, 0, \ |
1626 "Use BinaryTreeDictionary as default in the CMS generation") \ | 1626 "Use BinaryTreeDictionary as default in the CMS generation") \ |
1627 \ | 1627 \ |
1628 product(uintx, CMSIndexedFreeListReplenish, 4, \ | 1628 product(uintx, CMSIndexedFreeListReplenish, 4, \ |
1629 "Replenish an indexed free list with this number of chunks") \ | 1629 "Replenish an indexed free list with this number of chunks") \ |
1630 \ | 1630 \ |
1631 product(bool, CMSReplenishIntermediate, true, \ | 1631 product(bool, CMSReplenishIntermediate, true, \ |
1632 "Replenish all intermediate free-list caches") \ | 1632 "Replenish all intermediate free-list caches") \ |
1633 \ | 1633 \ |
1634 product(bool, CMSSplitIndexedFreeListBlocks, true, \ | 1634 product(bool, CMSSplitIndexedFreeListBlocks, true, \ |
2050 "Supplement to TenuredGenerationSizeIncrement used at startup") \ | 2050 "Supplement to TenuredGenerationSizeIncrement used at startup") \ |
2051 \ | 2051 \ |
2052 product(uintx, TenuredGenerationSizeSupplementDecay, 2, \ | 2052 product(uintx, TenuredGenerationSizeSupplementDecay, 2, \ |
2053 "Decay factor to TenuredGenerationSizeIncrement") \ | 2053 "Decay factor to TenuredGenerationSizeIncrement") \ |
2054 \ | 2054 \ |
2055 product(uintx, MaxGCPauseMillis, max_uintx, \ | 2055 product(uintx, MaxGCPauseMillis, max_uintx, \ |
2056 "Adaptive size policy maximum GC pause time goal in msec, " \ | 2056 "Adaptive size policy maximum GC pause time goal in msec, " \ |
2057 "or (G1 Only) the max. GC time per MMU time slice") \ | 2057 "or (G1 Only) the max. GC time per MMU time slice") \ |
2058 \ | 2058 \ |
2059 product(uintx, GCPauseIntervalMillis, 0, \ | 2059 product(uintx, GCPauseIntervalMillis, 0, \ |
2060 "Time slice for MMU specification") \ | 2060 "Time slice for MMU specification") \ |
2264 "Trace actions of the GC task manager") \ | 2264 "Trace actions of the GC task manager") \ |
2265 \ | 2265 \ |
2266 develop(bool, TraceGCTaskQueue, false, \ | 2266 develop(bool, TraceGCTaskQueue, false, \ |
2267 "Trace actions of the GC task queues") \ | 2267 "Trace actions of the GC task queues") \ |
2268 \ | 2268 \ |
2269 diagnostic(bool, TraceGCTaskThread, false, \ | 2269 diagnostic(bool, TraceGCTaskThread, false, \ |
2270 "Trace actions of the GC task threads") \ | 2270 "Trace actions of the GC task threads") \ |
2271 \ | 2271 \ |
2272 product(bool, PrintParallelOldGCPhaseTimes, false, \ | 2272 product(bool, PrintParallelOldGCPhaseTimes, false, \ |
2273 "Print the time taken by each parallel old gc phase." \ | 2273 "Print the time taken by each parallel old gc phase." \ |
2274 "PrintGCDetails must also be enabled.") \ | 2274 "PrintGCDetails must also be enabled.") \ |
2779 "(0 means none)")) \ | 2779 "(0 means none)")) \ |
2780 \ | 2780 \ |
2781 product(intx, SafepointTimeoutDelay, 10000, \ | 2781 product(intx, SafepointTimeoutDelay, 10000, \ |
2782 "Delay in milliseconds for option SafepointTimeout") \ | 2782 "Delay in milliseconds for option SafepointTimeout") \ |
2783 \ | 2783 \ |
2784 product(intx, NmethodSweepFraction, 16, \ | 2784 product(intx, NmethodSweepFraction, 16, \ |
2785 "Number of invocations of sweeper to cover all nmethods") \ | 2785 "Number of invocations of sweeper to cover all nmethods") \ |
2786 \ | 2786 \ |
2787 product(intx, NmethodSweepCheckInterval, 5, \ | 2787 product(intx, NmethodSweepCheckInterval, 5, \ |
2788 "Compilers wake up every n seconds to possibly sweep nmethods") \ | 2788 "Compilers wake up every n seconds to possibly sweep nmethods") \ |
2789 \ | 2789 \ |
2902 \ | 2902 \ |
2903 diagnostic(intx, MallocVerifyStart, 0, \ | 2903 diagnostic(intx, MallocVerifyStart, 0, \ |
2904 "if non-zero, start verifying C heap after Nth call to " \ | 2904 "if non-zero, start verifying C heap after Nth call to " \ |
2905 "malloc/realloc/free") \ | 2905 "malloc/realloc/free") \ |
2906 \ | 2906 \ |
2907 product(intx, TypeProfileWidth, 2, \ | 2907 product(intx, TypeProfileWidth, 2, \ |
2908 "number of receiver types to record in call/cast profile") \ | 2908 "number of receiver types to record in call/cast profile") \ |
2909 \ | 2909 \ |
2910 develop(intx, BciProfileWidth, 2, \ | 2910 develop(intx, BciProfileWidth, 2, \ |
2911 "number of return bci's to record in ret profile") \ | 2911 "number of return bci's to record in ret profile") \ |
2912 \ | 2912 \ |
3010 "Number of milliseconds per MB of free space in the heap") \ | 3010 "Number of milliseconds per MB of free space in the heap") \ |
3011 \ | 3011 \ |
3012 product(uintx, MinHeapDeltaBytes, ScaleForWordSize(128*K), \ | 3012 product(uintx, MinHeapDeltaBytes, ScaleForWordSize(128*K), \ |
3013 "Min change in heap space due to GC (in bytes)") \ | 3013 "Min change in heap space due to GC (in bytes)") \ |
3014 \ | 3014 \ |
3015 product(uintx, MinMetaspaceExpansion, ScaleForWordSize(256*K), \ | 3015 product(uintx, MinMetaspaceExpansion, ScaleForWordSize(256*K), \ |
3016 "Min expansion of permanent heap (in bytes)") \ | 3016 "Min expansion of permanent heap (in bytes)") \ |
3017 \ | 3017 \ |
3018 product(uintx, MaxMetaspaceExpansion, ScaleForWordSize(4*M), \ | 3018 product(uintx, MaxMetaspaceExpansion, ScaleForWordSize(4*M), \ |
3019 "Max expansion of permanent heap without full GC (in bytes)") \ | 3019 "Max expansion of permanent heap without full GC (in bytes)") \ |
3020 \ | 3020 \ |
3021 product(intx, QueuedAllocationWarningCount, 0, \ | 3021 product(intx, QueuedAllocationWarningCount, 0, \ |
3022 "Number of times an allocation that queues behind a GC " \ | 3022 "Number of times an allocation that queues behind a GC " \ |
3023 "will retry before printing a warning") \ | 3023 "will retry before printing a warning") \ |
3026 "GC invoke count where +VerifyBefore/AfterGC kicks in") \ | 3026 "GC invoke count where +VerifyBefore/AfterGC kicks in") \ |
3027 \ | 3027 \ |
3028 diagnostic(intx, VerifyGCLevel, 0, \ | 3028 diagnostic(intx, VerifyGCLevel, 0, \ |
3029 "Generation level at which to start +VerifyBefore/AfterGC") \ | 3029 "Generation level at which to start +VerifyBefore/AfterGC") \ |
3030 \ | 3030 \ |
3031 product(intx, MaxTenuringThreshold, 15, \ | 3031 product(uintx, MaxTenuringThreshold, 15, \ |
3032 "Maximum value for tenuring threshold") \ | 3032 "Maximum value for tenuring threshold") \ |
3033 \ | 3033 \ |
3034 product(intx, InitialTenuringThreshold, 7, \ | 3034 product(uintx, InitialTenuringThreshold, 7, \ |
3035 "Initial value for tenuring threshold") \ | 3035 "Initial value for tenuring threshold") \ |
3036 \ | 3036 \ |
3037 product(intx, TargetSurvivorRatio, 50, \ | 3037 product(intx, TargetSurvivorRatio, 50, \ |
3038 "Desired percentage of survivor space used after scavenge") \ | 3038 "Desired percentage of survivor space used after scavenge") \ |
3039 \ | 3039 \ |