8158938: AIX: some more new hotspot build fixes
authorsimonis
Tue, 07 Jun 2016 18:26:10 +0200
changeset 39214 294cc054a0b4
parent 39212 e46a559b4503
child 39215 43bb4e6e754a
8158938: AIX: some more new hotspot build fixes Reviewed-by: erikj
hotspot/make/lib/JvmOverrideFiles.gmk
--- a/hotspot/make/lib/JvmOverrideFiles.gmk	Tue Jun 07 00:57:23 2016 +0000
+++ b/hotspot/make/lib/JvmOverrideFiles.gmk	Tue Jun 07 18:26:10 2016 +0200
@@ -153,6 +153,13 @@
   # mode, so don't optimize sharedRuntimeTrig.cpp at all.
   BUILD_LIBJVM_sharedRuntimeTrig.cpp_CXXFLAGS := $(CXX_O_FLAG_NONE)
 
+  ifneq ($(DEBUG_LEVEL),slowdebug)
+    # Compiling jvmtiEnterTrace.cpp with full optimization needs more than 30min
+    # (mostly because of '-qhot=level=1' and the more than 1300 'log_trace' calls
+    # which cause a lot of template expansion).
+    BUILD_LIBJVM_jvmtiEnterTrace.cpp_OPTIMIZATION := LOW
+  endif
+
   # Disable ELF decoder on AIX (AIX uses XCOFF).
   JVM_EXCLUDE_PATTERNS += elf