hotspot/src/share/vm/runtime/arguments.cpp
changeset 15113 823590505eb4
parent 14740 1431ef92fed1
child 15119 c0929012d279
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Fri Dec 21 10:27:49 2012 -0800
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Sun Dec 23 17:08:22 2012 +0100
@@ -3291,6 +3291,18 @@
   if (!EliminateLocks) {
     EliminateNestedLocks = false;
   }
+  if (!Inline) {
+    IncrementalInline = false;
+  }
+#ifndef PRODUCT
+  if (!IncrementalInline) {
+    AlwaysIncrementalInline = false;
+  }
+#endif
+  if (IncrementalInline && FLAG_IS_DEFAULT(MaxNodeLimit)) {
+    // incremental inlining: bump MaxNodeLimit
+    FLAG_SET_DEFAULT(MaxNodeLimit, (intx)75000);
+  }
 #endif
 
   if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) {