[sgen] Avoid using parallel minors for small nurseries
[mono.git] / mono / sgen / sgen-archdep.h
index da6aaf01823c56265c44967c7e78504ec1165670..274f6dac2fdabdfed67add95ea4a76eaa559f494 100644 (file)
@@ -1,5 +1,6 @@
-/*
- * sgen-archdep.h: Architecture dependent parts of SGen.
+/**
+ * \file
+ * Architecture dependent parts of SGen.
  *
  * Copyright 2001-2003 Ximian, Inc
  * Copyright 2003-2010 Novell, Inc.
 
 #elif defined(TARGET_AMD64)
 
+#ifdef HOST_WIN32
+/* The Windows x64 ABI defines no "red zone". The ABI states:
+   "All memory beyond the current address of RSP is considered volatile" */
+#define REDZONE_SIZE   0
+#else
 #define REDZONE_SIZE   128
+#endif
 
 #elif defined(TARGET_POWERPC)