avoid stack expansion when booting (trouble with WIN32 saved states).
This commit is contained in:
parent
0793bbc07c
commit
84097e4598
16
configure
vendored
16
configure
vendored
@ -4058,22 +4058,12 @@ if test "${with_junit+set}" = set; then :
|
||||
fi
|
||||
|
||||
|
||||
if test "$tabling" = yes -o "$orparallelism" = yes -o "$threads" = yes
|
||||
then
|
||||
$as_echo "#define MinHeapSpace (1000*SIZEOF_INT_P)" >>confdefs.h
|
||||
$as_echo "#define MinHeapSpace (1000*SIZEOF_INT_P)" >>confdefs.h
|
||||
|
||||
$as_echo "#define MinStackSpace (300*SIZEOF_INT_P)" >>confdefs.h
|
||||
$as_echo "#define MinStackSpace (300*SIZEOF_INT_P)" >>confdefs.h
|
||||
|
||||
$as_echo "#define MinTrailSpace ( 48*SIZEOF_INT_P)" >>confdefs.h
|
||||
$as_echo "#define MinTrailSpace ( 48*SIZEOF_INT_P)" >>confdefs.h
|
||||
|
||||
else
|
||||
$as_echo "#define MinHeapSpace (300*SIZEOF_INT_P)" >>confdefs.h
|
||||
|
||||
$as_echo "#define MinStackSpace (200*SIZEOF_INT_P)" >>confdefs.h
|
||||
|
||||
$as_echo "#define MinTrailSpace ( 32*SIZEOF_INT_P)" >>confdefs.h
|
||||
|
||||
fi
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define DefHeapSpace $yap_cv_heap_space
|
||||
|
13
configure.in
13
configure.in
@ -340,16 +340,9 @@ AC_ARG_WITH(junit, [ --with-junit=PATH Specify location of the junit JAR file
|
||||
;;
|
||||
esac])
|
||||
|
||||
if test "$tabling" = yes -o "$orparallelism" = yes -o "$threads" = yes
|
||||
then
|
||||
AC_DEFINE(MinHeapSpace, (1000*SIZEOF_INT_P))
|
||||
AC_DEFINE(MinStackSpace,(300*SIZEOF_INT_P))
|
||||
AC_DEFINE(MinTrailSpace,( 48*SIZEOF_INT_P))
|
||||
else
|
||||
AC_DEFINE(MinHeapSpace, (300*SIZEOF_INT_P))
|
||||
AC_DEFINE(MinStackSpace,(200*SIZEOF_INT_P))
|
||||
AC_DEFINE(MinTrailSpace,( 32*SIZEOF_INT_P))
|
||||
fi
|
||||
AC_DEFINE(MinHeapSpace, (1000*SIZEOF_INT_P))
|
||||
AC_DEFINE(MinStackSpace,(300*SIZEOF_INT_P))
|
||||
AC_DEFINE(MinTrailSpace,( 48*SIZEOF_INT_P))
|
||||
|
||||
AC_DEFINE_UNQUOTED(DefHeapSpace,$yap_cv_heap_space)
|
||||
AC_DEFINE_UNQUOTED(DefStackSpace,$yap_cv_stack_space)
|
||||
|
Reference in New Issue
Block a user