mirror of
https://github.com/python/cpython.git
synced 2024-11-26 03:14:27 +08:00
Don't use our own malloc any more. It made test_longexp crash due to its optimization to lock blocks into a specific size malloc requests. This loses 15% performance, but that we'll have to live with:-(
This commit is contained in:
parent
a9f56e5c54
commit
e4cd2f28c6
@ -19,14 +19,19 @@
|
||||
#define MAC_TCL /* This *must* be on if USE_TK is on */
|
||||
/* #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */
|
||||
#define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */
|
||||
/* #define USE_MAC_DYNAMIC_LOADING /* Enable dynamically loaded modules */
|
||||
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
|
||||
#define USE_GDBM /* Include the gdbm module */
|
||||
#define USE_ZLIB /* Include the zlib module */
|
||||
#define USE_APPEARANCE /* Enable Appearance support */
|
||||
|
||||
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
|
||||
#ifndef USE_MSL_MALLOC
|
||||
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
|
||||
#ifdef __powerc
|
||||
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef USE_MSL
|
||||
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
|
||||
#include <ansi_prefix.mac.h>
|
||||
|
@ -27,15 +27,19 @@
|
||||
/* #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */
|
||||
/* #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */
|
||||
/* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
|
||||
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
|
||||
/* #define USE_GDBM /* Include the gdbm module */
|
||||
/* #define USE_ZLIB /* Include the zlib module */
|
||||
#define USE_UCNHASH /* Include ucnhash module */
|
||||
#define USE_APPEARANCE /* Enable Appearance support */
|
||||
#define USE_MSL_MALLOC /* Use MSL malloc(), not our own. */
|
||||
|
||||
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
|
||||
#ifndef USE_MSL_MALLOC
|
||||
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
|
||||
#ifdef __powerc
|
||||
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef USE_MSL
|
||||
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
|
||||
#include <ansi_prefix.mac.h>
|
||||
|
@ -19,13 +19,18 @@
|
||||
/* #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */
|
||||
/* #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */
|
||||
/* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
|
||||
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
|
||||
#define USE_GDBM /* Include the gdbm module */
|
||||
#define USE_ZLIB /* Include the zlib module */
|
||||
#define USE_APPEARANCE /* Enable Appearance support */
|
||||
|
||||
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
|
||||
#ifndef USE_MSL_MALLOC
|
||||
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
|
||||
#ifdef __powerc
|
||||
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef USE_MSL
|
||||
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
|
||||
#include <ansi_prefix.mac.h>
|
||||
|
@ -24,13 +24,18 @@
|
||||
#define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */
|
||||
#define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */
|
||||
#define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
|
||||
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
|
||||
/* #define USE_GDBM /* Include the gdbm module */
|
||||
/* #define USE_ZLIB /* Include the zlib module */
|
||||
#define USE_APPEARANCE /* Enable Appearance support */
|
||||
|
||||
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
|
||||
#ifndef USE_MSL_MALLOC
|
||||
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
|
||||
#ifdef __powerc
|
||||
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef USE_MSL
|
||||
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
|
||||
#include <ansi_prefix.mac.h>
|
||||
|
@ -21,14 +21,19 @@
|
||||
/* #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */
|
||||
/* #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */
|
||||
/* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
|
||||
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
|
||||
/* #define USE_GDBM /* Include the gdbm module */
|
||||
/* #define USE_ZLIB /* Include the zlib module */
|
||||
#define USE_UCNHASH /* Include the ucnhash module */
|
||||
#define USE_APPEARANCE /* Enable Appearance support */
|
||||
|
||||
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
|
||||
#ifndef USE_MSL_MALLOC
|
||||
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
|
||||
#ifdef __powerc
|
||||
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef USE_MSL
|
||||
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
|
||||
#include <ansi_prefix.mac.h>
|
||||
|
@ -22,13 +22,18 @@
|
||||
/* #define USE_MAC_SHARED_LIBRARY /* Enable code to add shared-library resources */
|
||||
/* #define USE_MAC_APPLET_SUPPORT /* Enable code to run a PYC resource */
|
||||
/* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
|
||||
#define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
|
||||
/* #define USE_GDBM /* Include the gdbm module */
|
||||
/* #define USE_ZLIB /* Include the zlib module */
|
||||
#define USE_APPEARANCE /* Enable Appearance support */
|
||||
|
||||
#define USE_MSL_MALLOC /* Disable private malloc. Also disables next two defines */
|
||||
#ifndef USE_MSL_MALLOC
|
||||
/* #define USE_MALLOC_DEBUG /* Enable range checking and other malloc debugging */
|
||||
#ifdef __powerc
|
||||
#define USE_CACHE_ALIGNED 8 /* Align on 32-byte boundaries for 604 */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef USE_MSL
|
||||
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
|
||||
#include <ansi_prefix.mac.h>
|
||||
|
Loading…
Reference in New Issue
Block a user