[llvm-commits] [vmkit] r50343 - /vmkit/trunk/lib/Mvm/GCMmap2/gccollector.cpp
Nicolas Geoffray
nicolas.geoffray at lip6.fr
Mon Apr 28 01:49:15 PDT 2008
Author: geoffray
Date: Mon Apr 28 03:49:14 2008
New Revision: 50343
URL: http://llvm.org/viewvc/llvm-project?rev=50343&view=rev
Log:
Do no empty used_nodes after a collection: otherwise all objects
previously allocated will never be collected.
Modified:
vmkit/trunk/lib/Mvm/GCMmap2/gccollector.cpp
Modified: vmkit/trunk/lib/Mvm/GCMmap2/gccollector.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/Mvm/GCMmap2/gccollector.cpp?rev=50343&r1=50342&r2=50343&view=diff
==============================================================================
--- vmkit/trunk/lib/Mvm/GCMmap2/gccollector.cpp (original)
+++ vmkit/trunk/lib/Mvm/GCMmap2/gccollector.cpp Mon Apr 28 03:49:14 2008
@@ -91,7 +91,6 @@
//printf(" !!!! reject %p [%p]\n", cur->chunk()->_2gc(), cur);
allocator->reject_chunk(cur);
}
- used_nodes->alone();
}
void GCCollector::collect_unprotect() {
More information about the llvm-commits
mailing list