[svn:parrot] r49062 - branches/string_gc_encapsulate/src/gc
bacek at svn.parrot.org
bacek at svn.parrot.org
Thu Sep 16 13:54:13 UTC 2010
Author: bacek
Date: Thu Sep 16 13:54:13 2010
New Revision: 49062
URL: https://trac.parrot.org/parrot/changeset/49062
Log:
Remove leftover function
Modified:
branches/string_gc_encapsulate/src/gc/alloc_resources.c
Modified: branches/string_gc_encapsulate/src/gc/alloc_resources.c
==============================================================================
--- branches/string_gc_encapsulate/src/gc/alloc_resources.c Thu Sep 16 13:53:54 2010 (r49061)
+++ branches/string_gc_encapsulate/src/gc/alloc_resources.c Thu Sep 16 13:54:13 2010 (r49062)
@@ -197,25 +197,6 @@
/*
-=item C<static int is_block_almost_full(const Memory_Block *block)>
-
-Tests if the block is almost full and should be skipped during compacting.
-
-Returns true if less that 20% of block is available
-
-=cut
-
-*/
-
-static int
-is_block_almost_full(ARGIN(const Memory_Block *block))
-{
- ASSERT_ARGS(is_block_almost_full)
- return 5 * (block->free + block->freed) < block->size;
-}
-
-/*
-
=back
=head2 Parrot Re/Allocate Code
More information about the parrot-commits
mailing list