changeset 51280:c82ed0f373bb

8205055: Fix compilation optimization errors with new Solaris toolchain Reviewed-by: erikj
author gadams
date Tue, 19 Jun 2018 07:15:00 -0400
parents 9cdde9293187
children 0e9d1d4ab692
files make/hotspot/lib/JvmOverrideFiles.gmk
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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