Bug 716136 - Add a configure flag to enable Generational GC; r=billm

These are already in the tree in several places to protect (empty) post write
barriers.  This will make it easier to test this functionality on more
platforms going forward.

--HG--
extra : rebase_source : d9c7f4f46392abbd608da94d02a7bc45f9fe8613
This commit is contained in:
Terrence Cole 2012-01-06 17:05:33 -08:00
parent 10b98d5df4
commit 712ce49b25

View File

@ -4348,6 +4348,17 @@ if test -n "$JSGC_INCREMENTAL"; then
AC_DEFINE(JSGC_INCREMENTAL)
fi
dnl ========================================================
dnl = Use generational GC
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(gcgenerational,
[ --enable-gcgenerational Enable generational GC],
JSGC_GENERATIONAL=1,
JSGC_GENERATIONAL= )
if test -n "$JSGC_GENERATIONAL"; then
AC_DEFINE(JSGC_GENERATIONAL)
fi
dnl ========================================================
dnl = Perform moving GC stack rooting analysis
dnl ========================================================