8205055: Fix compilation optimization errors with new Solaris toolchain
authorgadams
Tue, 19 Jun 2018 07:15:00 -0400
changeset 50646 c82ed0f373bb
parent 50645 9cdde9293187
child 50663 0e9d1d4ab692
8205055: Fix compilation optimization errors with new Solaris toolchain Reviewed-by: erikj
make/hotspot/lib/JvmOverrideFiles.gmk
--- a/make/hotspot/lib/JvmOverrideFiles.gmk	Tue Jun 19 07:14:49 2018 -0400
+++ b/make/hotspot/lib/JvmOverrideFiles.gmk	Tue Jun 19 07:15:00 2018 -0400
@@ -74,6 +74,8 @@
 
 else ifeq ($(OPENJDK_TARGET_OS), solaris)
   ifneq ($(DEBUG_LEVEL), slowdebug)
+    # dev studio 12.6 workaround
+    BUILD_LIBJVM_arguments.cpp_OPTIMIZATION := LOW
     # Workaround for a bug in dtrace.  If ciEnv::post_compiled_method_load_event()
     # is inlined, the resulting dtrace object file needs a reference to this
     # function, whose symbol name is too long for dtrace.  So disable inlining