hotspot/src/share/vm/opto/output.cpp
changeset 11791 3be8cae67887
parent 11445 3c768dca60f5
child 13491 6def7a824cf7
--- a/hotspot/src/share/vm/opto/output.cpp	Wed Feb 15 16:29:40 2012 -0800
+++ b/hotspot/src/share/vm/opto/output.cpp	Wed Feb 15 21:37:49 2012 -0800
@@ -167,7 +167,7 @@
   // Determine if we need to generate a stack overflow check.
   // Do it if the method is not a stub function and
   // has java calls or has frame size > vm_page_size/8.
-  return (stub_function() == NULL &&
+  return (UseStackBanging && stub_function() == NULL &&
           (has_java_calls() || frame_size_in_bytes > os::vm_page_size()>>3));
 }