(original) (raw)

src/share/vm/runtime/globals.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File

*** old/src/share/vm/runtime/globals.hpp Tue Oct 13 09:17:02 2015** --- new/src/share/vm/runtime/globals.hpp Tue Oct 13 09:17:02 2015


*** 889,901 **** --- 889,903 ---- ** **/* 50 retries * (5 * current_retry_count) millis = ~6.375 seconds / * **/* typically, at most a few retries are needed / * *product(intx, SuspendRetryCount, 50, * **"Maximum retry count for an external suspend request") ** **+ range(0, max_intx) ** ** *product(intx, SuspendRetryDelay, 5, * "Milliseconds to delay per retry ( current_retry_count)") * **+ range(0, max_intx) ** ** *product(bool, AssertOnSuspendWaitFailure, false, * **"Assert/Guarantee on external suspend wait failure") ** ** *product(bool, TraceSuspendWaitFailures, false, *


*** 1330,1339 **** --- 1332,1342 ---- ** *product(intx, MaxJNILocalCapacity, 65536, * **"Maximum allowable local JNI handle capacity to " ** **"EnsureLocalCapacity() and PushLocalFrame(), " ** **"where <= 0 is unlimited, default: 65536") ** **+ range(min_intx, max_intx) ** ** *product(bool, EagerXrunInit, false, * **"Eagerly initialize -Xrun libraries; allows startup profiling, " ** **"but not all -Xrun libraries may support the state of the VM " ** **"at this time") **


*** 1365,1375 **** --- 1368,1378 ---- **/* aggressive prefetching, while still leaving the room for segregating /* **/* among the distinct pages. /* *product(intx, ContendedPaddingWidth, 128, * **"How many bytes to pad the fields/classes marked @Contended with")** *range(0, 8192) * **! constraint(ContendedPaddingWidthConstraintFunc,AtParse) ** **! constraint(ContendedPaddingWidthConstraintFunc,AfterErgo) ** ** *product(bool, EnableContended, true, * **"Enable @Contended annotation support") ** ** *product(bool, RestrictContended, true, *


*** 1378,1402 **** --- 1381,1413 ---- *product(bool, UseBiasedLocking, true, * **"Enable biased locking in JVM") ** ** *product(intx, BiasedLockingStartupDelay, 4000, * **"Number of milliseconds to wait before enabling biased locking") ** **+ range(0, (intx)(max_jint-(max_jint%PeriodicTask::interval_gran))) ** **+ constraint(BiasedLockingStartupDelayFunc,AfterErgo) ** ** *diagnostic(bool, PrintBiasedLockingStatistics, false, * **"Print statistics of biased locking in JVM") ** ** *product(intx, BiasedLockingBulkRebiasThreshold, 20, * **"Threshold of number of revocations per type to try to " ** **"rebias all objects in the heap of that type") ** **+ range(0, max_intx) ** **+ constraint(BiasedLockingBulkRebiasThresholdFunc,AfterErgo) ** ** *product(intx, BiasedLockingBulkRevokeThreshold, 40, * **"Threshold of number of revocations per type to permanently " ** **"revoke biases of all objects in the heap of that type") ** **+ range(0, max_intx) ** **+ constraint(BiasedLockingBulkRevokeThresholdFunc,AfterErgo) ** ** *product(intx, BiasedLockingDecayTime, 25000, * **"Decay time (in milliseconds) to re-enable bulk rebiasing of a " ** **"type after previous bulk rebias") ** **+ range(500, max_intx) ** **+ constraint(BiasedLockingDecayTimeFunc,AfterErgo) ** ** **/* tracing / * ** *notproduct(bool, TraceRuntimeCalls, false, * **"Trace run-time calls") **


*** 1417,1428 **** --- 1428,1440 ---- **/* This can affect tests that except specific methods to be EMCP. / * **/* This option should be used with caution. / * *product(bool, StressLdcRewrite, false, * **"Force ldc -> ldc_w rewrite during RedefineClasses") ** ** **! product(intx, TraceRedefineClasses, 0, ** **! product(uintx, TraceRedefineClasses, 0, ** **"Trace level for JVMTI RedefineClasses") ** **+ range(0, 0xFFFFFFFF) ** ** **/* change to false by default sometime after Mustang / * *product(bool, VerifyMergedCPBytecodes, true, * **"Verify bytecodes after RedefineClasses constant pool merging") ** **


*** 2167,2176 **** --- 2179,2189 ---- *product(bool, AlwaysActAsServerClassMachine, false, * **"Always act like a server-class machine") ** ** *product_pd(uint64_t, MaxRAM, * **"Real memory size (in bytes) used to set maximum heap size") ** **+ range(0, 0XFFFFFFFFFFFFFFFF) ** ** *product(size_t, ErgoHeapSizeLimit, 0, * **"Maximum ergonomically set heap size (in bytes); zero means use " ** **"MaxRAM / MaxRAMFraction") ** **


*** 2675,2688 **** --- 2688,2704 ---- **"Print statistics about safepoint synchronization") ** ** *product(intx, PrintSafepointStatisticsCount, 300, * **"Total number of safepoint statistics collected " ** **"before printing them out") ** **+ range(1, max_intx) ** ** *product(intx, PrintSafepointStatisticsTimeout, -1, * **"Print safepoint statistics only when safepoint takes " ** **"more than PrintSafepointSatisticsTimeout in millis") ** **+ LP64_ONLY(range(-1, max_intx/MICROUNITS)) ** **+ NOT_LP64(range(-1, max_intx)) ** ** *product(bool, TraceSafepointCleanupTime, false, * **"Print the break down of clean up tasks performed during " ** **"safepoint") ** **


*** 2727,2736 **** --- 2743,2753 ---- **"the method is considered as hot by the flusher") ** ** *diagnostic(intx, MinPassesBeforeFlush, 10, * **"Minimum number of sweeper passes before an nmethod " ** **"can be flushed") ** **+ range(0, max_intx) ** ** *product(bool, UseCodeAging, true, * **"Insert counter to detect warm methods") ** ** *diagnostic(bool, StressCodeAging, false, *


*** 3087,3111 **** --- 3104,3136 ---- **"Tracing various information while debugging deoptimization") ** ** *product(intx, SelfDestructTimer, 0, * **"Will cause VM to terminate after a given time (in minutes) " ** **"(0 means off)") ** **+ range(0, max_intx) ** ** *product(intx, MaxJavaStackTraceDepth, 1024, * **"The maximum number of lines in the stack trace for Java " ** **"exceptions (0 means all)") ** **+ range(0, max_intx/2) ** ** **+ /* notice: the max range value here is max_jint, not max_intx / * **+ /* because of overflow issue / * *NOT_EMBEDDED(diagnostic(intx, GuaranteedSafepointInterval, 1000, * **"Guarantee a safepoint (at least) every so many milliseconds " ** **"(0 means none)")) ** **+ NOT_EMBEDDED(range(0, max_jint)) ** ** *EMBEDDED_ONLY(product(intx, GuaranteedSafepointInterval, 0, * **"Guarantee a safepoint (at least) every so many milliseconds " ** **"(0 means none)")) ** **+ EMBEDDED_ONLY(range(0, max_jint)) ** ** *product(intx, SafepointTimeoutDelay, 10000, * **"Delay in milliseconds for option SafepointTimeout") ** **+ LP64_ONLY(range(0, max_intx/MICROUNITS)) ** **+ NOT_LP64(range(0, max_intx)) ** ** *product(intx, NmethodSweepActivity, 10, * **"Removes cold nmethods from code cache if > 0. Higher values " ** **"result in more aggressive sweeping") ** *range(0, 2000) *


*** 3185,3194 **** --- 3210,3220 ---- **"Number of runtime stub nodes to show in profile") ** ** *product(intx, ProfileIntervalsTicks, 100, * **"Number of ticks between printing of interval profile " ** **"(+ProfileIntervals)") ** **+ range(0, max_intx) ** ** *notproduct(intx, ScavengeALotInterval, 1, * **"Interval between which scavenge will occur with +ScavengeALot") ** ** *notproduct(intx, FullGCALotInterval, 1, *


*** 3218,3235 **** --- 3244,3264 ---- **"Number of exits until ZombieALot kicks in") ** ** *diagnostic(intx, MallocVerifyInterval, 0, * **"If non-zero, verify C heap after every N calls to " ** **"malloc/realloc/free") ** **+ range(0, max_intx) ** ** *diagnostic(intx, MallocVerifyStart, 0, * **"If non-zero, start verifying C heap after Nth call to " ** **"malloc/realloc/free") ** **+ range(0, max_intx) ** ** *diagnostic(uintx, MallocMaxTestWords, 0, * **"If non-zero, maximum number of words that malloc/realloc can " ** **"allocate (for testing only)") ** **+ range(0, max_uintx) ** ** *product(intx, TypeProfileWidth, 2, * **"Number of receiver types to record in call/cast profile") ** ** *develop(intx, BciProfileWidth, 2, *


*** 3457,3470 **** --- 3486,3501 ---- **"Delay in scheduling GC workers (in milliseconds)") ** ** *product(intx, DeferThrSuspendLoopCount, 4000, * **"(Unstable) Number of times to iterate in safepoint loop " ** **"before blocking VM threads ") ** **+ range(-1, max_jint-1) ** ** *product(intx, DeferPollingPageLoopCount, -1, * **"(Unsafe,Unstable) Number of iterations in safepoint loop " ** **"before changing safepoint polling page to RO ") ** **+ range(-1, max_jint-1) ** ** *product(intx, SafepointSpinBeforeYield, 2000, "(Unstable)") * *range(0, max_intx) * ** *product(bool, PSChunkLargeArrays, true, *


*** 3475,3511 **** --- 3506,3545 ---- **"during parallel gc") ** ** **/* stack parameters / * *product_pd(intx, StackYellowPages, * **"Number of yellow zone (recoverable overflows) pages") ** **! range(1, max_intx) ** **! range(DEFAULT_STACK_YELLOW_PAGES, (DEFAULT_STACK_YELLOW_PAGES+5)) ** ** *product_pd(intx, StackRedPages, * **"Number of red zone (unrecoverable overflows) pages") ** **! range(1, max_intx) ** **! range(DEFAULT_STACK_RED_PAGES, (DEFAULT_STACK_RED_PAGES+2)) ** ** **/* greater stack shadow pages can't generate instruction to bang stack / * *product_pd(intx, StackShadowPages, * **"Number of shadow zone (for overflow checking) pages " ** **"this should exceed the depth of the VM and native call stack") ** **! range(1, 50) ** **! range(MIN_STACK_SHADOW_PAGES, (DEFAULT_STACK_SHADOW_PAGES+30)) ** ** *product_pd(intx, ThreadStackSize, * **"Thread Stack Size (in Kbytes)") ** **+ range(0, max_intx-os::vm_page_size()) ** ** *product_pd(intx, VMThreadStackSize, * **"Non-Java Thread Stack Size (in Kbytes)") ** **+ range(0, max_intx/(1 * K)) ** ** *product_pd(intx, CompilerThreadStackSize, * **"Compiler Thread Stack Size (in Kbytes)") ** ** *develop_pd(size_t, JVMInvokeMethodSlack, * **"Stack space (bytes) required for JVM_InvokeMethod to complete") ** ** **/* code cache parameters / * **/* ppc64/tiered compilation has large code-entry alignment. / * **! develop(uintx, CodeCacheSegmentSize, 64 PPC64_ONLY(+64) NOT_PPC64(TIERED_ONLY(+64)),** **! develop(uintx, CodeCacheSegmentSize, ** **+ 64 PPC64_ONLY(+64) NOT_PPC64(TIERED_ONLY(+64)), ** **"Code cache segment size (in bytes) - smallest unit of " ** **"allocation") ** *range(1, 1024) * ** *develop_pd(intx, CodeEntryAlignment, *


*** 3668,3713 **** --- 3702,3758 ---- **"(-1 means no change)") ** ** *product(intx, VMThreadPriority, -1, * **"The native priority at which the VM thread should run " ** **"(-1 means no change)") ** **+ range(-1, 127) ** ** *product(bool, CompilerThreadHintNoPreempt, true, * **"(Solaris only) Give compiler threads an extra quanta") ** ** *product(bool, VMThreadHintNoPreempt, false, * **"(Solaris only) Give VM thread an extra quanta") ** ** *product(intx, JavaPriority1_To_OSPriority, -1, * **"Map Java priorities to OS priorities") ** **+ range(-1, 127) ** ** *product(intx, JavaPriority2_To_OSPriority, -1, * **"Map Java priorities to OS priorities") ** **+ range(-1, 127) ** ** *product(intx, JavaPriority3_To_OSPriority, -1, * **"Map Java priorities to OS priorities") ** **+ range(-1, 127) ** ** *product(intx, JavaPriority4_To_OSPriority, -1, * **"Map Java priorities to OS priorities") ** **+ range(-1, 127) ** ** *product(intx, JavaPriority5_To_OSPriority, -1, * **"Map Java priorities to OS priorities") ** **+ range(-1, 127) ** ** *product(intx, JavaPriority6_To_OSPriority, -1, * **"Map Java priorities to OS priorities") ** **+ range(-1, 127) ** ** *product(intx, JavaPriority7_To_OSPriority, -1, * **"Map Java priorities to OS priorities") ** **+ range(-1, 127) ** ** *product(intx, JavaPriority8_To_OSPriority, -1, * **"Map Java priorities to OS priorities") ** **+ range(-1, 127) ** ** *product(intx, JavaPriority9_To_OSPriority, -1, * **"Map Java priorities to OS priorities") ** **+ range(-1, 127) ** ** *product(intx, JavaPriority10_To_OSPriority,-1, * **"Map Java priorities to OS priorities") ** **+ range(-1, 127) ** ** *experimental(bool, UseCriticalJavaThreadPriority, false, * **"Java thread priority 10 maps to critical scheduling priority") ** ** *experimental(bool, UseCriticalCompilerThreadPriority, false, *


*** 3884,3893 **** --- 3929,3939 ---- ** **/* Properties for Java libraries / * ** *product(size_t, MaxDirectMemorySize, 0, * **"Maximum total size of NIO direct-buffer allocations") ** **+ range(0, (size_t)max_uintx) ** ** **/* Flags used for temporary code during development / * ** *diagnostic(bool, UseNewCode, false, * **"Testing Only: Use the new version while testing") **


*** 3912,3921 **** --- 3958,3969 ---- **"The string %p in the file name (if present) " ** **"will be replaced by pid") ** ** *product(intx, PerfDataSamplingInterval, 50, * **"Data sampling interval (in milliseconds)") ** **+ range(PeriodicTask::min_interval, max_jint) ** **+ constraint(PerfDataSamplingIntervalFunc, AfterErgo) ** ** *develop(bool, PerfTraceDataCreation, false, * **"Trace creation of Performance Data Entries") ** ** *develop(bool, PerfTraceMemOps, false, *


*** 3925,3937 **** --- 3973,3987 ---- **"Store performance data in standard memory") ** ** *product(intx, PerfDataMemorySize, 64K, ** **"Size of performance data memory region. Will be rounded " ** **"up to a multiple of the native os page size.") ** **+ range(128, 3264K) ** ** *product(intx, PerfMaxStringConstLength, 1024, * **"Maximum PerfStringConstant string length before truncation") ** **+ range(32, 32K) * ** *product(bool, PerfAllowAtExitRegistration, false, * **"Allow registration of atexit() methods") ** ** *product(bool, PerfBypassFileSystemCheck, false, *


*** 4005,4014 **** --- 4055,4065 ---- *NOT_LP64(LINUX_ONLY(2G) NOT_LINUX(0)), ** **"Address to allocate shared memory region for class data") ** ** *product(uintx, SharedSymbolTableBucketSize, 4, * **"Average number of symbols per bucket in shared table") ** **+ range(4, 246) ** ** *diagnostic(bool, IgnoreUnverifiableClassesDuringDump, false, * **"Do not quit -Xshare:dump even if we encounter unverifiable " ** **"classes. Just exclude them from the shared dictionary.") ** **


src/share/vm/runtime/globals.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File