1.1 --- a/src/share/vm/runtime/globals.hpp Tue Oct 12 10:57:33 2010 -0400 1.2 +++ b/src/share/vm/runtime/globals.hpp Wed Oct 13 11:46:46 2010 -0400 1.3 @@ -273,6 +273,10 @@ 1.4 // UnlockExperimentalVMOptions flag, which allows the control and 1.5 // modification of the experimental flags. 1.6 // 1.7 +// Nota bene: neither diagnostic nor experimental options should be used casually, 1.8 +// and they are not supported on production loads, except under explicit 1.9 +// direction from support engineers. 1.10 +// 1.11 // manageable flags are writeable external product flags. 1.12 // They are dynamically writeable through the JDK management interface 1.13 // (com.sun.management.HotSpotDiagnosticMXBean API) and also through JConsole. 1.14 @@ -634,6 +638,9 @@ 1.15 develop(bool, ZapJNIHandleArea, trueInDebug, \ 1.16 "Zap freed JNI handle space with 0xFEFEFEFE") \ 1.17 \ 1.18 + notproduct(bool, ZapStackSegments, trueInDebug, \ 1.19 + "Zap allocated/freed Stack segments with 0xFADFADED") \ 1.20 + \ 1.21 develop(bool, ZapUnusedHeapArea, trueInDebug, \ 1.22 "Zap unused heap space with 0xBAADBABE") \ 1.23 \ 1.24 @@ -1802,17 +1809,17 @@ 1.25 develop(uintx, PromotionFailureALotInterval, 5, \ 1.26 "Total collections between promotion failures alot") \ 1.27 \ 1.28 - develop(intx, WorkStealingSleepMillis, 1, \ 1.29 + experimental(intx, WorkStealingSleepMillis, 1, \ 1.30 "Sleep time when sleep is used for yields") \ 1.31 \ 1.32 - develop(uintx, WorkStealingYieldsBeforeSleep, 1000, \ 1.33 + experimental(uintx, WorkStealingYieldsBeforeSleep, 1000, \ 1.34 "Number of yields before a sleep is done during workstealing") \ 1.35 \ 1.36 - develop(uintx, WorkStealingHardSpins, 4096, \ 1.37 + experimental(uintx, WorkStealingHardSpins, 4096, \ 1.38 "Number of iterations in a spin loop between checks on " \ 1.39 "time out of hard spin") \ 1.40 \ 1.41 - develop(uintx, WorkStealingSpinToYieldRatio, 10, \ 1.42 + experimental(uintx, WorkStealingSpinToYieldRatio, 10, \ 1.43 "Ratio of hard spins to calls to yield") \ 1.44 \ 1.45 product(uintx, PreserveMarkStackSize, 1024, \