8230742: Make AggressiveUnboxing a diagnostic flag
Summary: AggressiveUnboxing is enabled by default. It should therefore be a diagnostic flag.
Reviewed-by: roland, shade
--- a/src/hotspot/share/opto/c2_globals.hpp Mon Sep 16 09:28:54 2019 +0200
+++ b/src/hotspot/share/opto/c2_globals.hpp Mon Sep 16 13:53:41 2019 +0200
@@ -510,7 +510,7 @@
"Sets max value cached by the java.lang.Integer autobox cache") \
range(0, max_jint) \
\
- experimental(bool, AggressiveUnboxing, true, \
+ diagnostic(bool, AggressiveUnboxing, true, \
"Control optimizations for aggressive boxing elimination") \
\
develop(bool, TracePostallocExpand, false, "Trace expanding nodes after" \