< prev index next >

src/hotspot/share/runtime/os.cpp

Print this page

        

@@ -233,10 +233,18 @@
   }
   priority = (ThreadPriority)p;
   return OS_OK;
 }
 
+size_t os::committed_stack_size(address bottom, size_t size) {
+#if defined(LINUX) || defined(_WINDOWS)
+  return pd_committed_stack_size(bottom, size);
+#else
+  return size;
+#endif
+}
+
 bool os::dll_build_name(char* buffer, size_t size, const char* fname) {
   int n = jio_snprintf(buffer, size, "%s%s%s", JNI_LIB_PREFIX, fname, JNI_LIB_SUFFIX);
   return (n != -1);
 }
 
< prev index next >