8229158: make UseSwitchProfiling non-experimental or false by-default

Changed UseSwitchProfiling from experimental to diagnostic.

Reviewed-by: dholmes, shade, thartmann
This commit is contained in:
Christian Hagedorn 2019-08-20 10:46:23 +02:00
parent f543e8e4ea
commit db359f11b5
3 changed files with 4 additions and 4 deletions

View File

@ -2437,11 +2437,11 @@ const size_t minimumSymbolTableSize = 1024;
diagnostic(bool, ShowRegistersOnAssert, true, \
"On internal errors, include registers in error report.") \
\
experimental(bool, UseSwitchProfiling, true, \
diagnostic(bool, UseSwitchProfiling, true, \
"leverage profiling for table/lookup switch") \
\
JFR_ONLY(product(bool, FlightRecorder, false, \
"(Deprecated) Enable Flight Recorder")) \
"(Deprecated) Enable Flight Recorder")) \
\
JFR_ONLY(product(ccstr, FlightRecorderOptions, NULL, \
"Flight Recorder options")) \

View File

@ -32,7 +32,7 @@
* @run main/othervm -XX:-TieredCompilation -XX:-BackgroundCompilation
* -XX:-UseOnStackReplacement -XX:CompileOnly=LoopUnswitchingBadNodeBudget::test
* -XX:CompileCommand=dontinline,LoopUnswitchingBadNodeBudget::helper
* -XX:+UnlockExperimentalVMOptions -XX:-UseSwitchProfiling LoopUnswitchingBadNodeBudget
* -XX:+UnlockDiagnosticVMOptions -XX:-UseSwitchProfiling LoopUnswitchingBadNodeBudget
*
*/

View File

@ -26,7 +26,7 @@
* @bug 8159016 8202949 8203915
* @summary Tests correct dominator information after over-unrolling a loop.
* @requires vm.gc == "Parallel" | vm.gc == "null"
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockExperimentalVMOptions
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions
* -Xcomp -XX:-TieredCompilation -XX:-UseSwitchProfiling
* -XX:-UseCountedLoopSafepoints -XX:LoopUnrollLimit=250
* -XX:-UseG1GC -XX:+UseParallelGC compiler.loopopts.TestOverunrolling