diff --git a/xpcom/build/dlldeps.cpp b/xpcom/build/dlldeps.cpp
index 6ece4d47b955..b961f7b83468 100644
--- a/xpcom/build/dlldeps.cpp
+++ b/xpcom/build/dlldeps.cpp
@@ -48,6 +48,7 @@
#include "nsFileStream.h"
#include "nsFileSpecStreaming.h"
#include "nsFixedSizeAllocator.h"
+#include "nsRecyclingAllocator.h"
#include "nsSpecialSystemDirectory.h"
#include "nsIThread.h"
#include "nsDeque.h"
@@ -124,6 +125,7 @@ void XXXNeverCalled()
NS_NewPipe(NULL, NULL, 0, 0, PR_FALSE, PR_FALSE, NULL);
nsFileSpec s;
nsFixedSizeAllocator a;
+ nsRecyclingAllocator recyclingAllocator(2);
a.Init(0, 0, 0, 0, 0);
a.Alloc(0);
a.Free(0, 0);
diff --git a/xpcom/ds/Makefile.in b/xpcom/ds/Makefile.in
index 0eb97f4ae3e0..8d32137c74d2 100644
--- a/xpcom/ds/Makefile.in
+++ b/xpcom/ds/Makefile.in
@@ -58,6 +58,7 @@ CPPSRCS = \
nsProperties.cpp \
nsPersistentProperties.cpp \
nsQuickSort.cpp \
+ nsRecyclingAllocator.cpp \
nsSizeOfHandler.cpp \
nsStaticNameTable.cpp \
nsStatistics.cpp \
@@ -90,6 +91,7 @@ EXPORTS = \
nsInt64.h \
nsObserverService.h \
nsQuickSort.h \
+ nsRecyclingAllocator.h \
nsStaticNameTable.h \
nsStatistics.h \
nsSupportsArray.h \
diff --git a/xpcom/ds/makefile.win b/xpcom/ds/makefile.win
index a0b702410aeb..84d9170d8754 100644
--- a/xpcom/ds/makefile.win
+++ b/xpcom/ds/makefile.win
@@ -45,6 +45,7 @@ EXPORTS = \
nsInt64.h \
nsObserverService.h \
nsQuickSort.h \
+ nsRecyclingAllocator.h \
nsStaticNameTable.h \
nsStatistics.h \
nsSupportsArray.h \
@@ -109,6 +110,7 @@ CPP_OBJS = \
.\$(OBJDIR)\nsProperties.obj \
.\$(OBJDIR)\nsPersistentProperties.obj \
.\$(OBJDIR)\nsQuickSort.obj \
+ .\$(OBJDIR)\nsRecyclingAllocator.obj \
.\$(OBJDIR)\nsSizeOfHandler.obj \
.\$(OBJDIR)\nsStaticNameTable.obj \
.\$(OBJDIR)\nsStatistics.obj \
diff --git a/xpcom/macbuild/xpcomPPC.xml b/xpcom/macbuild/xpcomPPC.xml
index 1bd33388d9f8..720684046592 100644
--- a/xpcom/macbuild/xpcomPPC.xml
+++ b/xpcom/macbuild/xpcomPPC.xml
@@ -1751,6 +1751,13 @@
Text
Debug
+
+ Name
+ nsRecylingAllocator.cpp
+ MacOS
+ Text
+ Debug
+
Name
nsStaticNameTable.cpp
@@ -2413,6 +2420,11 @@
nsFixedSizeAllocator.cpp
MacOS
+
+ Name
+ nsRecylingAllocator.cpp
+ MacOS
+
Name
nsStaticNameTable.cpp
@@ -4215,6 +4227,13 @@
Text
Debug
+
+ Name
+ nsRecylingAllocator.cpp
+ MacOS
+ Text
+ Debug
+
Name
nsStaticNameTable.cpp
@@ -4882,6 +4901,11 @@
nsFixedSizeAllocator.cpp
MacOS
+
+ Name
+ nsRecylingAllocator.cpp
+ MacOS
+
Name
nsStaticNameTable.cpp
@@ -5212,6 +5236,12 @@
nsFixedSizeAllocator.cpp
MacOS
+
+ xpcom.shlb
+ Name
+ nsRecylingAllocator.cpp
+ MacOS
+
xpcom.shlb
Name