Skip to content
Snippets Groups Projects
Commit abd730c6 authored by rtoy's avatar rtoy
Browse files

lisp/x86-validate.h:

o Maximum dynamic space size for darwin was too large.

general-info/release-20b.txt
o Update.
parent 80122d37
No related branches found
No related tags found
No related merge requests found
...@@ -54,6 +54,9 @@ New in this release: ...@@ -54,6 +54,9 @@ New in this release:
- A new switch, -help, has been added. These print out brief - A new switch, -help, has been added. These print out brief
summary of the available command line switches and then exits. summary of the available command line switches and then exits.
You may also use --help, which is an alias for -help. You may also use --help, which is an alias for -help.
- CMUCL no longer crashes on Mac OS X if the dynamic space size is
too large. This was caused by an erroneous value for the
maximum dynamic space size.
* ANSI compliance fixes: * ANSI compliance fixes:
- COMPILE will update the macro-function if the specified name - COMPILE will update the macro-function if the specified name
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* This code was written as part of the CMU Common Lisp project at * This code was written as part of the CMU Common Lisp project at
* Carnegie Mellon University, and has been placed in the public domain. * Carnegie Mellon University, and has been placed in the public domain.
* *
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/x86-validate.h,v 1.30 2010/02/01 16:12:04 rtoy Exp $ * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/x86-validate.h,v 1.31 2010/05/21 19:26:53 rtoy Rel $
* *
*/ */
...@@ -139,7 +139,16 @@ ...@@ -139,7 +139,16 @@
#define DYNAMIC_0_SPACE_START (SpaceStart_TargetDynamic) #define DYNAMIC_0_SPACE_START (SpaceStart_TargetDynamic)
#ifdef GENCGC #ifdef GENCGC
#if defined(DARWIN)
/*
* On Darwin, /usr/lib/dyld appears to always be loaded at address
* #x8fe2e000. Hence, the maximum dynamic space size is 1206050816
* bytes, or just over 1.150 GB. Set the limit to 1.150 GB.
*/
#define DYNAMIC_SPACE_SIZE (0x47E00000U) /* 1.150GB */
#else
#define DYNAMIC_SPACE_SIZE (0x67800000U) /* 1.656GB */ #define DYNAMIC_SPACE_SIZE (0x67800000U) /* 1.656GB */
#endif
#else #else
#define DYNAMIC_SPACE_SIZE (0x04000000U) /* 64MB */ #define DYNAMIC_SPACE_SIZE (0x04000000U) /* 64MB */
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment