From 1682e39728a6242638b30d1d9b8a78e53d6391a0 Mon Sep 17 00:00:00 2001 From: Gary Adams Date: Tue, 19 Jun 2018 07:15:00 -0400 Subject: [PATCH] 8205055: Fix compilation optimization errors with new Solaris toolchain Reviewed-by: erikj --- make/hotspot/lib/JvmOverrideFiles.gmk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/make/hotspot/lib/JvmOverrideFiles.gmk b/make/hotspot/lib/JvmOverrideFiles.gmk index 3f98d85176b..f436a9451ee 100644 --- a/make/hotspot/lib/JvmOverrideFiles.gmk +++ b/make/hotspot/lib/JvmOverrideFiles.gmk @@ -74,6 +74,8 @@ ifeq ($(OPENJDK_TARGET_OS), linux) 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